Skip to content

Commit aa17d9e

Browse files
committed
review: remove frees
1 parent e102476 commit aa17d9e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

agent/fw_drupal8.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
640640
nrl_warning(NRL_FRAMEWORK,
641641
"hookImplementationsMap[hook = %s]: invalid value",
642642
NRSAFESTR(ZEND_STRING_VALUE(hook_key)));
643-
nr_free(hookpath);
644643
return false;
645644
}
646645

@@ -652,7 +651,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
652651
nrl_warning(NRL_FRAMEWORK,
653652
"hookImplementationsMap[class = %s]: invalid value",
654653
NRSAFESTR(ZEND_STRING_VALUE(class_key)));
655-
nr_free(hookpath);
656654
return false;
657655
}
658656

@@ -665,7 +663,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
665663
nrl_warning(NRL_FRAMEWORK,
666664
"hookImplementationsMap[method = %s]: invalid value",
667665
NRSAFESTR(ZEND_STRING_VALUE(method_key)));
668-
nr_free(hookpath);
669666
return false;
670667
}
671668

0 commit comments

Comments
 (0)