Free memory after contact search

This commit is contained in:
James Booth
2012-03-10 22:50:13 +00:00
parent f928fb3625
commit b41808ae0f

View File

@@ -208,6 +208,7 @@ static int _handle_edit(const int ch, char *input, int *size)
strcat(auto_msg, found);
_replace_input(input, auto_msg, size);
free(auto_msg);
free(found);
}
}
return 1;