diff options
author | Stefan Esser <sesser@php.net> | 2002-06-21 14:47:59 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2002-06-21 14:47:59 +0000 |
commit | 44a5b43b79bb407002b82156ecb4995e20c349fd (patch) | |
tree | 25ba8c8826478c127fa4861d7f07750744d0fe11 /sapi/nsapi | |
parent | 2203ef1979571be330b14d2f31689eb7bea24830 (diff) | |
download | php-git-44a5b43b79bb407002b82156ecb4995e20c349fd.tar.gz |
Fixing the same possible memory leak.
Diffstat (limited to 'sapi/nsapi')
-rw-r--r-- | sapi/nsapi/nsapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index d2c3b2db86..2a392ac434 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -156,6 +156,7 @@ sapi_nsapi_header_handler(sapi_header_struct *sapi_header, sapi_headers_struct * header_name = sapi_header->header; header_content = p = strchr(header_name, ':'); if (p == NULL) { + efree(sapi_header->header); return 0; } |