SF Bug Tracker id 3489999 - UpnpString leaks in genaSubscribe()
Submitted: Yoichi NAKAYAMA ( yoichi ) - 2012-02-21 07:06:35 PST In genaSubscribe() (defined in upnp/src/gena/gena_ctrlpt.c), ActualSID and EventURL will not be freed if ScheduleGenaAutoRenew returns UPNP_E_SUCCESS. This fixes the an issue introduced by the previous fix.
This commit is contained in:
parent
a567576100
commit
795de3e077
12
ChangeLog
12
ChangeLog
@ -2,6 +2,18 @@
|
|||||||
Version 1.6.16
|
Version 1.6.16
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2012-02-24 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
|
||||||
|
|
||||||
|
SF Bug Tracker id 3489999 - UpnpString leaks in genaSubscribe()
|
||||||
|
|
||||||
|
Submitted: Yoichi NAKAYAMA ( yoichi ) - 2012-02-21 07:06:35 PST
|
||||||
|
|
||||||
|
In genaSubscribe() (defined in upnp/src/gena/gena_ctrlpt.c),
|
||||||
|
ActualSID and EventURL will not be freed if ScheduleGenaAutoRenew
|
||||||
|
returns UPNP_E_SUCCESS.
|
||||||
|
|
||||||
|
This fixes the an issue introduced by the previous fix.
|
||||||
|
|
||||||
2012-02-23 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
|
2012-02-23 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
|
||||||
|
|
||||||
SF Bug Tracker id 3489990 - some files are missing in tarball
|
SF Bug Tracker id 3489990 - some files are missing in tarball
|
||||||
|
@ -569,6 +569,7 @@ int genaSubscribe(
|
|||||||
error_handler:
|
error_handler:
|
||||||
UpnpString_delete(ActualSID);
|
UpnpString_delete(ActualSID);
|
||||||
UpnpString_delete(EventURL);
|
UpnpString_delete(EventURL);
|
||||||
|
if (return_code != UPNP_E_SUCCESS)
|
||||||
UpnpClientSubscription_delete(newSubscription);
|
UpnpClientSubscription_delete(newSubscription);
|
||||||
HandleUnlock();
|
HandleUnlock();
|
||||||
SubscribeUnlock();
|
SubscribeUnlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user