summaryrefslogtreecommitdiff
path: root/ext/ming
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-17 01:58:42 +0000
committerWez Furlong <wez@php.net>2002-03-17 01:58:42 +0000
commit1d3ad85ac2fd78e6e14e835b5f00d4b1d092b33b (patch)
treecd4f5cfcc4444c7315cdc835868f249fe439236b /ext/ming
parent8261132f41f4f9702582b05b4d075bb73ce8f126 (diff)
downloadphp-git-1d3ad85ac2fd78e6e14e835b5f00d4b1d092b33b.tar.gz
fix win32 warning and ming leak
Diffstat (limited to 'ext/ming')
-rw-r--r--ext/ming/ming.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c
index 41e341de4a..7233e3e4d2 100644
--- a/ext/ming/ming.c
+++ b/ext/ming/ming.c
@@ -1610,6 +1610,8 @@ PHP_FUNCTION(swfmovie_save)
retval = SWFMovie_output(getMovie(getThis() TSRMLS_CC),
&phpStreamOutputMethod, (void *)stream);
+ php_stream_close(stream);
+
RETURN_LONG(retval);
}