Browse Source

* Add destructor for "caca_file" resources

tags/v0.99.beta17
Nicolas Vion nico 16 years ago
parent
commit
63a44b0b7a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      caca-php/php_caca.c

+ 1
- 0
caca-php/php_caca.c View File

@@ -197,6 +197,7 @@ static void php_caca_font_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) {
}

static void php_caca_file_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) {
caca_file_close(rsrc->ptr);
}

static void php_caca_display_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) {


Loading…
Cancel
Save