mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
Trying to free nonexistent memory is bad, mmkay?
(refs http://transmission.m0k.org/forum/viewtopic.php?t=302)
This commit is contained in:
parent
9235d148b0
commit
0a77d36380
1 changed files with 2 additions and 1 deletions
|
@ -238,6 +238,7 @@ main(int argc, char **argv) {
|
||||||
|
|
||||||
makewind(mainwind, back, state, argfiles);
|
makewind(mainwind, back, state, argfiles);
|
||||||
|
|
||||||
|
if(NULL != state)
|
||||||
cf_freestate(state);
|
cf_freestate(state);
|
||||||
g_object_unref(back);
|
g_object_unref(back);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue