mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 14:46:20 +00:00
Fix pointer dereferencing
Setting the pointer to NULL had no effect outside the function so far.
This commit is contained in:
@@ -76,7 +76,6 @@ buffer_free(ProfBuff buffer)
|
||||
{
|
||||
g_slist_free_full(buffer->entries, (GDestroyNotify)_free_entry);
|
||||
free(buffer);
|
||||
buffer = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user