[asterisk-commits] dvossel: branch 10 r336091 - /branches/10/main/format_cap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 15 10:19:12 CDT 2011


Author: dvossel
Date: Thu Sep 15 10:19:10 2011
New Revision: 336091

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=336091
Log:
Removes some no-op code found in format_cap.c.

Modified:
    branches/10/main/format_cap.c

Modified: branches/10/main/format_cap.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/format_cap.c?view=diff&rev=336091&r1=336090&r2=336091
==============================================================================
--- branches/10/main/format_cap.c (original)
+++ branches/10/main/format_cap.c Thu Sep 15 10:19:10 2011
@@ -521,8 +521,6 @@
 	}
 	result = ast_format_cap_destroy(result);
 
-	/* Remember to always free the NULL before returning it. */
-	ast_free(NULL);
 	return NULL;
 }
 




More information about the asterisk-commits mailing list