Fix memory leak

This commit is contained in:
Chocobo1 2015-06-24 13:14:14 +08:00
parent 6400a13a50
commit 7e088a9039
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }