0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-07-26 12:14:28 -04:00

Merge remote-tracking branch 'jubalh/ptr_fix'

This commit is contained in:
James Booth 2015-10-26 20:47:48 +00:00
commit ab9bdffab6
3 changed files with 0 additions and 3 deletions

View File

@ -203,7 +203,6 @@ prefs_free_string(char *pref)
if (pref) { if (pref) {
g_free(pref); g_free(pref);
} }
pref = NULL;
} }

View File

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

View File

@ -76,7 +76,6 @@ buffer_free(ProfBuff buffer)
{ {
g_slist_free_full(buffer->entries, (GDestroyNotify)_free_entry); g_slist_free_full(buffer->entries, (GDestroyNotify)_free_entry);
free(buffer); free(buffer);
buffer = NULL;
} }
void void