svn: php/php-src/trunk/ext/standard/ proc_open.c
| From: | Kalle Sommer Nielsen | Date: | Mon, 20 Jul 2009 04:30:38 +0000 |
| Subject: | svn: php/php-src/trunk/ext/standard/ proc_open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-59640@lists.php.net to get a copy of this message | ||
kalle Mon, 20 Jul 2009 04:30:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=284411
Changed paths:
U php/php-src/trunk/ext/standard/proc_open.c
Log:
Fix Windows build
Modified: php/php-src/trunk/ext/standard/proc_open.c
===================================================================
--- php/php-src/trunk/ext/standard/proc_open.c 2009-07-20 03:48:55 UTC (rev 284410)
+++ php/php-src/trunk/ext/standard/proc_open.c 2009-07-20 04:30:38 UTC (rev 284411)
@@ -291,7 +291,9 @@
FG(pclose_ret) = -1;
#endif
_php_free_envp(proc->env, proc->is_persistent);
+#if !defined(PHP_WIN32) && !defined(NETWARE)
_php_free_argv(proc->argv, proc->is_persistent);
+#endif
pefree(proc->command, proc->is_persistent);
pefree(proc, proc->is_persistent);