fix doublefree with certinfo
authorMichael Wallner <mike@php.net>
Tue, 5 Jan 2010 08:48:52 +0000 (08:48 +0000)
committerMichael Wallner <mike@php.net>
Tue, 5 Jan 2010 08:48:52 +0000 (08:48 +0000)
http_request_info.c

index 3a05ea3df0ce1557a22850f610e7110f7eab07c6..809512ade05d1ed6510a4f66679513b38c94fc37 100644 (file)
@@ -177,7 +177,6 @@ PHP_HTTP_API void _http_request_info(http_request *request, HashTable *info)
                                        }
                                }
                                add_next_index_zval(ci_array, subarray);
-                               curl_slist_free_all(s);
                        }
                        add_assoc_zval_ex(&array, "certinfo", sizeof("certinfo"), ci_array);
                }