Fixed a minor memory "leak"

The upnppermlist was not free'd before exiting...
This commit is contained in:
Thomas Bernard 2012-02-05 00:53:29 +01:00
parent 9ee74defc8
commit 4e79d6b983
1 changed files with 6 additions and 0 deletions

View File

@ -193,5 +193,11 @@ freeoptions(void)
ary_options = NULL;
num_options = 0;
}
if(upnppermlist)
{
free(upnppermlist);
upnppermlist = NULL;
num_upnpperm = 0;
}
}