]> granicus.if.org Git - php/commitdiff
fix potential leak
authorAntony Dovgal <tony2001@php.net>
Thu, 21 Dec 2006 00:46:51 +0000 (00:46 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 21 Dec 2006 00:46:51 +0000 (00:46 +0000)
main/streams/memory.c

index c1716cf44549839afb7fa774edd43a42052aa9b1..0474363aeb238c74e5b907ce496f52b1c3f3622b 100644 (file)
@@ -688,6 +688,7 @@ static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, cha
                ts->mode = mode && mode[0] == 'r' ? TEMP_STREAM_READONLY : 0;
                ts->meta = meta;
        }
+       efree(comma);
 
        return stream;
 }