summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-09-19 17:10:01 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-09-19 17:10:16 +0200
commit16cde23eb24e3675219352dcf970c311c3f7fb40 (patch)
treea0626c5b46d89b9623fda44ce9452bed1ae1cca7 /sapi/phpdbg/phpdbg.c
parentff414555db30bcddb09b4f035ddd02a7411d39b4 (diff)
downloadphp-git-16cde23eb24e3675219352dcf970c311c3f7fb40.tar.gz
Fix oplog...
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 2d3a97a1a8..de87242e44 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1752,6 +1752,7 @@ phpdbg_main:
phpdbg_error("oplog", "path=\"%s\"", "Failed to open oplog %s", oplog_file);
}
free(oplog_file);
+ oplog_file = NULL;
}
/* set default colors */