]> granicus.if.org Git - php/commitdiff
- not efree but free
authorMichael Wallner <mike@php.net>
Sat, 28 Jan 2006 08:07:20 +0000 (08:07 +0000)
committerMichael Wallner <mike@php.net>
Sat, 28 Jan 2006 08:07:20 +0000 (08:07 +0000)
ext/imap/php_imap.c

index 9653ebb732be6c8bfbfb8e7900cade11f0ff0972..67be96b8e3dff0de512037e54557520551b7aab8 100644 (file)
@@ -4246,7 +4246,7 @@ static char *php_mail_gets(readfn_t f, void *stream, unsigned long size, GETS_DA
                        buf[size] = '\0';
                } else {
                        php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket");
-                       efree(buf);
+                       free(buf);
                        buf = NULL;
                }
                return buf;