Fix memory leak
This commit is contained in:
parent
6400a13a50
commit
7e088a9039
|
@ -815,6 +815,7 @@ DeletePortMappingRange(struct upnphttp * h, const char * action)
|
||||||
{
|
{
|
||||||
SoapError(h, 730, "PortMappingNotFound");
|
SoapError(h, 730, "PortMappingNotFound");
|
||||||
ClearNameValueList(&data);
|
ClearNameValueList(&data);
|
||||||
|
free(port_list);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue