Skip to content

Commit 3c68c3d

Browse files
committed
review: remove frees
1 parent 3ded06d commit 3c68c3d

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
@@ -637,7 +637,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
637637
nrl_warning(NRL_FRAMEWORK,
638638
"hookImplementationsMap[hook = %s]: invalid value",
639639
NRSAFESTR(ZEND_STRING_VALUE(hook_key)));
640-
nr_free(hookpath);
641640
return false;
642641
}
643642

@@ -649,7 +648,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
649648
nrl_warning(NRL_FRAMEWORK,
650649
"hookImplementationsMap[class = %s]: invalid value",
651650
NRSAFESTR(ZEND_STRING_VALUE(class_key)));
652-
nr_free(hookpath);
653651
return false;
654652
}
655653

@@ -662,7 +660,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
662660
nrl_warning(NRL_FRAMEWORK,
663661
"hookImplementationsMap[method = %s]: invalid value",
664662
NRSAFESTR(ZEND_STRING_VALUE(method_key)));
665-
nr_free(hookpath);
666663
return false;
667664
}
668665

0 commit comments

Comments
 (0)