From: Zbigniew Jędrzejewski-Szmek Date: Tue, 18 Mar 2014 02:13:47 +0000 (-0400) Subject: microhttpd-util: avoid double free on error X-Git-Tag: v212~115 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4dd5da7f7d37f964fe95b0f0d451d7843a34591d;hp=4dd5da7f7d37f964fe95b0f0d451d7843a34591d;p=elogind.git microhttpd-util: avoid double free on error It seems that resources are properly deallocated by MHD_destroy_response, even if enqueuing the request fails. Also replace a trivial printf with alloca and fixup log message (it'll now be something like "Connection from CN=some.host.name", which seems clear enough.) ---