[asterisk-commits] eliel: branch group/appdocsxml r151507 -	/team/group/appdocsxml/main/pbx.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Wed Oct 22 06:54:29 CDT 2008
    
    
  
Author: eliel
Date: Wed Oct 22 06:54:29 2008
New Revision: 151507
URL: http://svn.digium.com/view/asterisk?view=rev&rev=151507
Log:
Set output buffer to NULL when no ast_str string is created.
Modified:
    team/group/appdocsxml/main/pbx.c
Modified: team/group/appdocsxml/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/pbx.c?view=diff&rev=151507&r1=151506&r2=151507
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Wed Oct 22 06:54:29 2008
@@ -3420,6 +3420,7 @@
 	size_t textlen;
 
 	if (!text) {
+		*output = NULL;
 		return;
 	}
 	textlen = strlen(text);
    
    
More information about the asterisk-commits
mailing list