Fix condition for allocation failure in get_content_type().

At the end of get_content_type() in webserver.c, it should check
return value of ixmlCloneDOMString().

(Forward ported from commit 708ea30806)
This commit is contained in:
Yoichi NAKAYAMA 2012-04-21 21:48:55 +09:00 committed by Marcelo Roberto Jimenez
parent c27a089d6f
commit 8eaaf0f171

View File

@ -332,6 +332,13 @@ Version 1.8.0
Version 1.6.18
*******************************************************************************
2012-04-21 Yoichi NAKAYAMA <yoichi.nakayama(at)gmail.com>
Fix condition for allocation failure in get_content_type().
At the end of get_content_type() in webserver.c, it should check
return value of ixmlCloneDOMString().
2012-04-21 Yoichi NAKAYAMA <yoichi.nakayama(at)gmail.com>
Fix problems detected as dead assignment warning by clang scan-build.