mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-18 18:31:15 +00:00
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");
|
||||
ClearNameValueList(&data);
|
||||
free(port_list);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user