From 689f3488a50ee330c95fbbb5b86c4f6e4253cbf9 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 27 Jun 2005 17:33:56 +0000 Subject: fix couple of leaks in MySQLi --- ext/mysqli/mysqli_exception.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/mysqli/mysqli_exception.c') diff --git a/ext/mysqli/mysqli_exception.c b/ext/mysqli/mysqli_exception.c index bd90560c84..adb6b2f2eb 100644 --- a/ext/mysqli/mysqli_exception.c +++ b/ext/mysqli/mysqli_exception.c @@ -47,6 +47,7 @@ void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "(%s/%d): %s", sqlstate, errorno, message); + efree(message); return; } -- cgit v1.2.1