SF Bug Tracker: UpnpString leaks in genaSubscribe()
In genaSubscribe() (defined in upnp/src/gena/gena_ctrlpt.c), ActualSID and EventURL will not be freed.
This commit is contained in:
parent
d87c966ec5
commit
2940cbf94a
@ -2,6 +2,14 @@
|
||||
Version 1.6.16
|
||||
*******************************************************************************
|
||||
|
||||
2012-02-23 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
|
||||
|
||||
SF Bug Tracker: UpnpString leaks in genaSubscribe()
|
||||
|
||||
In genaSubscribe() (defined in upnp/src/gena/gena_ctrlpt.c),
|
||||
ActualSID and EventURL will not be freed if ScheduleGenaAutoRenew
|
||||
returns UPNP_E_SUCCESS.
|
||||
|
||||
2012-02-23 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
|
||||
|
||||
Revert cb89781a55466703763c1b0ee67094eb401ddfe9 as suggested by
|
||||
|
@ -520,9 +520,9 @@ int genaSubscribe(
|
||||
HandleReadLock();
|
||||
/* validate handle */
|
||||
if (GetHandleInfo(client_handle, &handle_info) != HND_CLIENT) {
|
||||
HandleUnlock();
|
||||
|
||||
return GENA_E_BAD_HANDLE;
|
||||
return_code = GENA_E_BAD_HANDLE;
|
||||
SubscribeLock();
|
||||
goto error_handler;
|
||||
}
|
||||
HandleUnlock();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user