Fixed a minor memory "leak"
The upnppermlist was not free'd before exiting...
This commit is contained in:
parent
9ee74defc8
commit
4e79d6b983
|
@ -193,5 +193,11 @@ freeoptions(void)
|
|||
ary_options = NULL;
|
||||
num_options = 0;
|
||||
}
|
||||
if(upnppermlist)
|
||||
{
|
||||
free(upnppermlist);
|
||||
upnppermlist = NULL;
|
||||
num_upnpperm = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue