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

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