]> granicus.if.org Git - php/commitdiff
Missing buffer->val change
authorMarcus Boerger <helly@php.net>
Tue, 9 Mar 2004 14:29:20 +0000 (14:29 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 9 Mar 2004 14:29:20 +0000 (14:29 +0000)
ext/mysqli/mysqli.c

index 68bbf8e228753e2069818c3c44bd18b8b171a84d..b2d71457a2ce2966156eea0179e520cfed847689 100644 (file)
@@ -66,7 +66,7 @@ void php_free_stmt_bind_buffer(BIND_BUFFER bbuf, int type)
        for (i=0; i < bbuf.var_cnt; i++) {
                if (type == FETCH_RESULT) {
                        if (bbuf.buf[i].type == IS_STRING) {
-                               efree(bbuf.buf[i].buffer);
+                               efree(bbuf.buf[i].val);
                        }
                }
                if (bbuf.vars[i]) {