From 31da0979220ff39c6f5f7e7cb78ad674d8b94ffb Mon Sep 17 00:00:00 2001 From: spr0cketeer Date: Sun, 6 Jan 2019 18:57:45 +0000 Subject: [PATCH] Fix: Correct url event "action" option handling Closes: #2370 --- src/event_url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event_url.c b/src/event_url.c index 71e24adf..d9c7e14d 100644 --- a/src/event_url.c +++ b/src/event_url.c @@ -131,7 +131,7 @@ int event_get_url(event_registration_t *er, config_options_t *options) { } else if (strcmp(options->name, "password") == 0) { password = options->value; } else if (strcmp(options->name, "action") == 0) { - free(self->url); + free(self->action); self->action = NULL; if (options->value) self->action = strdup(options->value);