[asterisk-commits] trunk r24462 - /trunk/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 3 10:30:37 MST 2006


Author: rizzo
Date: Wed May  3 12:30:37 2006
New Revision: 24462

URL: http://svn.digium.com/view/asterisk?rev=24462&view=rev
Log:
no point in clearing a local variable just before return


Modified:
    trunk/channel.c

Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=24462&r1=24461&r2=24462&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Wed May  3 12:30:37 2006
@@ -1033,7 +1033,6 @@
 
 	/* Finally free memory used by ourselves */
 	free(datastore);
-	datastore = NULL;
 
 	return res;
 }



More information about the asterisk-commits mailing list