Fix leaks
This commit is contained in:
parent
ea9e8d353b
commit
5c534ac344
@ -2122,6 +2122,8 @@ update_is_resumable (struct DCC *dcc)
|
|||||||
dcc->resume_error = 1;
|
dcc->resume_error = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free (filename_fs);
|
||||||
|
|
||||||
/* Now verify that this DCC is not already in progress from someone else */
|
/* Now verify that this DCC is not already in progress from someone else */
|
||||||
if (dcc->resumable)
|
if (dcc->resumable)
|
||||||
{
|
{
|
||||||
|
@ -108,7 +108,10 @@ identd_read_ready (GDataInputStream *in_stream, GAsyncResult *res, ident_info *i
|
|||||||
local = g_ascii_strtoull (read_buf, NULL, 0);
|
local = g_ascii_strtoull (read_buf, NULL, 0);
|
||||||
p = strchr (read_buf, ',');
|
p = strchr (read_buf, ',');
|
||||||
if (!p)
|
if (!p)
|
||||||
|
{
|
||||||
|
g_free (read_buf);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
remote = g_ascii_strtoull (p + 1, NULL, 0);
|
remote = g_ascii_strtoull (p + 1, NULL, 0);
|
||||||
g_free (read_buf);
|
g_free (read_buf);
|
||||||
|
Loading…
Reference in New Issue
Block a user