[svn-commits] twilson: branch 1.4 r203380 - /branches/1.4/main/cli.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 25 16:13:13 CDT 2009


Author: twilson
Date: Thu Jun 25 16:13:10 2009
New Revision: 203380

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203380
Log:
I didn't see that Mark already fixed the underlying issue!

Yay for removing useless code.

Modified:
    branches/1.4/main/cli.c

Modified: branches/1.4/main/cli.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/cli.c?view=diff&rev=203380&r1=203379&r2=203380
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Thu Jun 25 16:13:10 2009
@@ -1289,9 +1289,8 @@
 		c += (strlen(ast_config_AST_MODULE_DIR) + 1);
 	if (c)
 		c = strdup(c);
-	if (d) {
-		free(d);
-	}
+
+	free(d);
 	
 	return c;
 }




More information about the svn-commits mailing list