Fix leaks

This commit is contained in:
Patrick Griffis
2016-01-25 23:36:06 -05:00
parent ea9e8d353b
commit 5c534ac344
2 changed files with 5 additions and 0 deletions

View File

@@ -108,7 +108,10 @@ identd_read_ready (GDataInputStream *in_stream, GAsyncResult *res, ident_info *i
local = g_ascii_strtoull (read_buf, NULL, 0);
p = strchr (read_buf, ',');
if (!p)
{
g_free (read_buf);
goto cleanup;
}
remote = g_ascii_strtoull (p + 1, NULL, 0);
g_free (read_buf);