[asterisk-commits] twilson: trunk r203381 - in /trunk: ./ main/cli.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 25 16:15:14 CDT 2009


Author: twilson
Date: Thu Jun 25 16:15:11 2009
New Revision: 203381

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203381
Log:
Merged revisions 203380 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r203380 | twilson | 2009-06-25 16:13:10 -0500 (Thu, 25 Jun 2009) | 4 lines
  
  I didn't see that Mark already fixed the underlying issue!
  
  Yay for removing useless code.
........

Modified:
    trunk/   (props changed)
    trunk/main/cli.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/cli.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/cli.c?view=diff&rev=203381&r1=203380&r2=203381
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Thu Jun 25 16:15:11 2009
@@ -235,9 +235,8 @@
 		c += (strlen(ast_config_AST_MODULE_DIR) + 1);
 	if (c)
 		c = ast_strdup(c);
-	if (d) {
-		free(d);
-	}
+
+	free(d);
 	
 	return c;
 }




More information about the asterisk-commits mailing list