}
err = create_pattern_spec(compiled, s);
free(s);
+ free_pattern_spec(compiled);
if (err)
{
free(param);
return (err == JB_ERR_MEMORY) ? JB_ERR_MEMORY : JB_ERR_CGI_PARAMS;
}
- free_pattern_spec(compiled);
if (param[strlen(param) - 1] == '\\')
{
}
err = create_pattern_spec(compiled, s);
free(s);
+ free_pattern_spec(compiled);
if (err)
{
free(param);
return (err == JB_ERR_MEMORY) ? JB_ERR_MEMORY : JB_ERR_CGI_PARAMS;
}
- free_pattern_spec(compiled);
}
*pvalue = param;
*
* Function : action_render_string_actions_template
*
- * Description : Converts a actionsfile entry into HTML template for actions with string
- * filters (currently SUPPRESS-TAG actions only)
+ * Description : Converts an actionsfile entry into HTML template for
+ * actions with string filters (currently SUPPRESS-TAG
+ * actions only)
*
* Parameters :
* 1 : exports = List of substitutions to add to.
* JB_ERR_MEMORY on out-of-memory
*
*********************************************************************/
-static jb_err action_render_string_actions_template(struct map * exports,
+static jb_err action_render_string_actions_template(struct map *exports,
const struct action_spec *action,
- const char* action_template,
+ const char *action_template,
const struct string_action_type_info *string_action_type)
{
jb_err err = JB_ERR_OK;