summaryrefslogtreecommitdiff
path: root/ext/icap/php_icap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/icap/php_icap.c')
-rw-r--r--ext/icap/php_icap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/icap/php_icap.c b/ext/icap/php_icap.c
index 7856ad6b89..9ff4ae3833 100644
--- a/ext/icap/php_icap.c
+++ b/ext/icap/php_icap.c
@@ -110,10 +110,11 @@ int le_picap;
char icap_user[80]="";
char icap_password[80]="";
-CALSTREAM *cal_close_it (zend_rsrc_list_entry *rsrc)
+CALSTREAM *cal_close_it (zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
pils *icap_le_struct = (pils *)rsrc->ptr;
CALSTREAM *ret;
+
ret = cal_close (icap_le_struct->icap_stream,0);
efree(icap_le_struct);
return ret;