diff options
| author | Antony Dovgal <tony2001@php.net> | 2005-06-27 17:33:56 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2005-06-27 17:33:56 +0000 |
| commit | 689f3488a50ee330c95fbbb5b86c4f6e4253cbf9 (patch) | |
| tree | 19a146d13620651210af21d1f32f0e24d89ba2ad /ext/mysqli/mysqli_nonapi.c | |
| parent | fb7c1f05616f322c08fbcba128dfeebdcae0ccab (diff) | |
| download | php-git-689f3488a50ee330c95fbbb5b86c4f6e4253cbf9.tar.gz | |
fix couple of leaks in MySQLi
Diffstat (limited to 'ext/mysqli/mysqli_nonapi.c')
| -rw-r--r-- | ext/mysqli/mysqli_nonapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index 683638b8e9..1ed6278e2c 100644 --- a/ext/mysqli/mysqli_nonapi.c +++ b/ext/mysqli/mysqli_nonapi.c @@ -97,6 +97,7 @@ PHP_FUNCTION(mysqli_connect) /* free mysql structure */ mysql_close(mysql->mysql); + efree(mysql); RETURN_FALSE; } |
