- Fixed build on php-trunk
[m6w6/ext-http] / http_request_info.c
index f686d470553dab9201802fb1ef7cbab5ef4f2a64..809512ade05d1ed6510a4f66679513b38c94fc37 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2007, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2010, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
     +--------------------------------------------------------------------+
 */
 
@@ -177,7 +177,6 @@ PHP_HTTP_API void _http_request_info(http_request *request, HashTable *info)
                                        }
                                }
                                add_next_index_zval(ci_array, subarray);
                                        }
                                }
                                add_next_index_zval(ci_array, subarray);
-                               curl_slist_free_all(s);
                        }
                        add_assoc_zval_ex(&array, "certinfo", sizeof("certinfo"), ci_array);
                }
                        }
                        add_assoc_zval_ex(&array, "certinfo", sizeof("certinfo"), ci_array);
                }