mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
patches from Charles Kerr to update the Inspector in GTK and fix some memory leaks
This commit is contained in:
@@ -214,6 +214,7 @@ cf_readfile(const char *file, const char *oldfile, gsize *len,
|
||||
}
|
||||
|
||||
done:
|
||||
g_free (path);
|
||||
if(NULL != err)
|
||||
g_error_free(err);
|
||||
if(NULL != io)
|
||||
@@ -280,6 +281,7 @@ cf_loadprefs(char **errstr) {
|
||||
cf_saveprefs(errstr);
|
||||
}
|
||||
|
||||
tr_bencFree(&val);
|
||||
g_free(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user