From e56a9d68a3501b47ee9e90ade1604cdc50abb323 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Mon, 5 May 2008 23:26:37 +0000 Subject: [PATCH] Removing the useless, unused and undocumented function UpnpFree(). git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@371 119443c7-1b9e-41f8-b6fc-b9c35fce742c --- upnp/inc/upnp.h | 4 ---- upnp/src/api/upnpapi.c | 19 ------------------- 2 files changed, 23 deletions(-) diff --git a/upnp/inc/upnp.h b/upnp/inc/upnp.h index e188928..e12ea8a 100644 --- a/upnp/inc/upnp.h +++ b/upnp/inc/upnp.h @@ -2628,10 +2628,6 @@ EXPORT_SPEC int UpnpRemoveVirtualDir( */ EXPORT_SPEC void UpnpRemoveAllVirtualDirs(); -EXPORT_SPEC void UpnpFree( - /*! The item to free. */ - IN void *item); - /* @} Web Server API */ diff --git a/upnp/src/api/upnpapi.c b/upnp/src/api/upnpapi.c index fea4595..6008a85 100644 --- a/upnp/src/api/upnpapi.c +++ b/upnp/src/api/upnpapi.c @@ -4735,25 +4735,6 @@ int UpnpVirtualDir_set_CloseCallback(VDCallback_Close callback) } -/************************************************************************** - * Function: UpnpFree - * - * Parameters: - * IN void *item:The item to free. - * - * Description: - * This function free the memory allocated by tbe UPnP library - * - * Return Values: void - ***************************************************************************/ -void -UpnpFree( IN void *item ) -{ - if( item ) - free( item ); -} - - /************************************************************************** * Function: UpnpSetContentLength * OBSOLETE METHOD: use UpnpSetMaxContentLength() instead.