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

removed useless code in autocomplete.c

This commit is contained in:
Dmitry Podgorny 2013-07-14 21:34:02 +03:00
parent c8b7438736
commit 0b221bde20

View File

@ -68,8 +68,7 @@ void
autocomplete_free(Autocomplete ac) autocomplete_free(Autocomplete ac)
{ {
autocomplete_clear(ac); autocomplete_clear(ac);
g_free(ac); free(ac);
ac = NULL;
} }
gint gint