]> granicus.if.org Git - php/commit
Fix a memleak: A second call to *nix version of dlerror() frees the error
authorMarcus Boerger <helly@php.net>
Wed, 17 Dec 2003 11:20:35 +0000 (11:20 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 17 Dec 2003 11:20:35 +0000 (11:20 +0000)
commit490fd0eaf272a44cab1885496e94afdb52a8bf66
treeb082c9c887effa7c5543eb7432a42d685a902395
parent094861db8c3d7f655b6fff3ac1eb7aa98b196878
Fix a memleak: A second call to *nix version of dlerror() frees the error
string. This behavior is also adapted to the win build so that the buffer
returned by FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER) can be freed too.
ext/standard/dl.c
win32/winutil.c