Fix pointer dereferencing

Setting the pointer to NULL had no effect outside the function so far.
This commit is contained in:
Michael Vetter
2015-10-26 14:24:11 +01:00
parent 523d92e950
commit a6f27d3ea7
3 changed files with 0 additions and 3 deletions

View File

@@ -976,6 +976,5 @@ _occupant_free(Occupant *occupant)
free(occupant->jid);
free(occupant->status);
free(occupant);
occupant = NULL;
}
}