Clear store variable correctly here.

pull/211/merge
Roger A. Light 11 years ago
parent 0e72d3cc32
commit 778bd4ca25

@ -186,7 +186,7 @@ void mosquitto__db_msg_store_deref(struct mosquitto_db *db, struct mosquitto_msg
(*store)->ref_count--;
if((*store)->ref_count == 0){
mosquitto__db_msg_store_remove(db, *store);
store = NULL;
*store = NULL;
}
}

Loading…
Cancel
Save