mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +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,7 +238,8 @@ main(int argc, char **argv) {
|
||||||
|
|
||||||
makewind(mainwind, back, state, argfiles);
|
makewind(mainwind, back, state, argfiles);
|
||||||
|
|
||||||
cf_freestate(state);
|
if(NULL != state)
|
||||||
|
cf_freestate(state);
|
||||||
g_object_unref(back);
|
g_object_unref(back);
|
||||||
|
|
||||||
if(NULL != preferr)
|
if(NULL != preferr)
|
||||||
|
|
Loading…
Reference in a new issue