projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- still let it be customizable
[m6w6/ext-http]
/
http_request_pool_api.c
diff --git
a/http_request_pool_api.c
b/http_request_pool_api.c
index 4fa5bb6eb4fb413052a1f5cf1e367eeec75ed510..b90d19de23b4d21cc257e4a8551f3cf11076e1db 100644
(file)
--- a/
http_request_pool_api.c
+++ b/
http_request_pool_api.c
@@
-291,10
+291,13
@@
PHP_HTTP_API void _http_request_pool_dtor(http_request_pool *pool)
fprintf(stderr, "Destructing request pool %p\n", pool);
#endif
fprintf(stderr, "Destructing request pool %p\n", pool);
#endif
+#if HTTP_HAVE_EVENT
+ efree(pool->timeout);
+#endif
+
pool->unfinished = 0;
zend_llist_clean(&pool->finished);
zend_llist_clean(&pool->handles);
pool->unfinished = 0;
zend_llist_clean(&pool->finished);
zend_llist_clean(&pool->handles);
- efree(pool->timeout);
http_persistent_handle_release("http_request_pool", &pool->ch);
}
/* }}} */
http_persistent_handle_release("http_request_pool", &pool->ch);
}
/* }}} */