Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pp3345 committed Feb 10, 2013
1 parent 35200dd commit d71a32f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DeepTrace_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static int DeepTrace_destroy_misplaced_functions(zend_hash_key *hashKey TSRMLS_D
{
if(!hashKey->nKeyLength) return ZEND_HASH_APPLY_REMOVE;
zend_hash_del(EG(function_table), hashKey->arKey, hashKey->nKeyLength);
efree(hashKey->arKey);
efree((void*) hashKey->arKey);
return ZEND_HASH_APPLY_REMOVE;
}
/* }}} */
Expand Down
2 changes: 1 addition & 1 deletion DeepTrace_methods.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ static int DeepTrace_clean_children_methods(zend_class_entry *ce TSRMLS_DC, int
static void DeepTrace_misplaced_methods_destructor(void *pElement)
{
zend_hash_key *hashKey = (zend_hash_key *) pElement;
efree(hashKey->arKey);
efree((void*) hashKey->arKey);
}
/* }}} */

Expand Down

0 comments on commit d71a32f

Please sign in to comment.