Protect the object destructors agains null pointers on deletion, which
should be something valid. Missed this one. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@535 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
472cc5a993
commit
01039a1d9a
@ -35,6 +35,8 @@ void SSDPResultData_delete(SSDPResultData *p)
|
||||
{
|
||||
struct SSSDPResultData *q = (struct SSSDPResultData *)p;
|
||||
|
||||
if (!q) return;
|
||||
|
||||
UpnpDiscovery_delete(q->m_param);
|
||||
q->m_param = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user