git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43507
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ast_log(LOG_NOTICE, "AEL load process: verified config file name '%s'.\n", rfilename);
} else {
ast_log(LOG_ERROR, "Sorry, but %d syntax errors and %d semantic errors were detected. It doesn't make sense to compile.\n", errs, sem_err);
+ destroy_pval(parse_tree); /* free up the memory */
+ return AST_MODULE_LOAD_FAILURE;
}
destroy_pval(parse_tree); /* free up the memory */
- return 0;
+ return AST_MODULE_LOAD_SUCCESS;
}
/* CLI interface */