[asterisk-addons-commits] qwell: trunk r397 -
/trunk/app_addon_sql_mysql.c
asterisk-addons-commits at lists.digium.com
asterisk-addons-commits at lists.digium.com
Tue Jun 12 16:03:57 MST 2007
Author: qwell
Date: Tue Jun 12 18:03:56 2007
New Revision: 397
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=397
Log:
We don't need to call mysql_free_result, since if it got here, mysqlres wouldn't be set.
Issue 9961, patch by eserra.
Modified:
trunk/app_addon_sql_mysql.c
Modified: trunk/app_addon_sql_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/app_addon_sql_mysql.c?view=diff&rev=397&r1=396&r2=397
==============================================================================
--- trunk/app_addon_sql_mysql.c (original)
+++ trunk/app_addon_sql_mysql.c Tue Jun 12 18:03:56 2007
@@ -282,8 +282,6 @@
} else
ast_log(LOG_WARNING,"missing some arguments\n");
- mysql_free_result(mysqlres);
-
return -1;
}
@@ -317,8 +315,6 @@
ast_log(LOG_WARNING,"Invalid connection identifier %d passed in aMYSQL_query\n",connid);
} else
ast_log(LOG_WARNING,"missing some arguments\n");
-
- mysql_free_result(mysqlres);
return -1;
}
More information about the asterisk-addons-commits
mailing list