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 3a05ea3..809512a 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);
                }