[asterisk-commits] may: branch may/ooh323_qsig r316190 - /team/may/ooh323_qsig/addons/ooh323c/src/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 3 03:59:15 CDT 2011


Author: may
Date: Tue May  3 03:59:02 2011
New Revision: 316190

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=316190
Log:
fixed simple issue in StackCmds

Modified:
    team/may/ooh323_qsig/addons/ooh323c/src/ooStackCmds.c

Modified: team/may/ooh323_qsig/addons/ooh323c/src/ooStackCmds.c
URL: http://svnview.digium.com/svn/asterisk/team/may/ooh323_qsig/addons/ooh323c/src/ooStackCmds.c?view=diff&rev=316190&r1=316189&r2=316190
==============================================================================
--- team/may/ooh323_qsig/addons/ooh323c/src/ooStackCmds.c (original)
+++ team/may/ooh323_qsig/addons/ooh323c/src/ooStackCmds.c Tue May  3 03:59:02 2011
@@ -522,7 +522,7 @@
 
    cmd.param1 = (void*) malloc(strlen(callToken)+1);
    cmd.param2 = (void*) malloc(strlen(ani)+1);
-   cmd.param3 = (void*) malloc(strlen(ani)+1);
+   cmd.param3 = (void*) malloc(strlen(anm)+1);
    if(!cmd.param1 || !cmd.param2 || !cmd.param3)
    {
       if(cmd.param1)   free(cmd.param1); /* Release memory */




More information about the asterisk-commits mailing list