File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -207,27 +207,28 @@ void nr_composer_handle_autoload(const char* filename) {
207
207
COMPOSER_MAGIC_FILE_1 )) {
208
208
nrl_verbosedebug (NRL_FRAMEWORK , "'%s' not found in '%s'" ,
209
209
COMPOSER_MAGIC_FILE_1 , vendor_path );
210
- return ;
210
+ goto leave ;
211
211
}
212
212
213
213
if (!nr_execute_handle_autoload_composer_file_exists (vendor_path ,
214
214
COMPOSER_MAGIC_FILE_2 )) {
215
215
nrl_verbosedebug (NRL_FRAMEWORK , "'%s' not found in '%s'" ,
216
216
COMPOSER_MAGIC_FILE_2 , vendor_path );
217
- return ;
217
+ goto leave ;
218
218
}
219
219
220
220
if (!nr_execute_handle_autoload_composer_file_exists (vendor_path ,
221
221
COMPOSER_MAGIC_FILE_3 )) {
222
222
nrl_verbosedebug (NRL_FRAMEWORK , "'%s' not found in '%s'" ,
223
223
COMPOSER_MAGIC_FILE_3 , vendor_path );
224
- return ;
224
+ goto leave ;
225
225
}
226
226
227
227
nrl_verbosedebug (NRL_FRAMEWORK , "detected composer" );
228
228
NRPRG (txn )-> composer_info .composer_detected = true;
229
229
nr_fw_support_add_library_supportability_metric (NRPRG (txn ), "Composer" );
230
230
231
231
nr_execute_handle_autoload_composer_get_packages_information (vendor_path );
232
+ leave :
232
233
nr_free (vendor_path );
233
234
}
You can’t perform that action at this time.
0 commit comments