diff --git a/apps/app_url.c b/apps/app_url.c
index f33890c76af46e3d35ea2a2af6b01789c32998a3..00ea720472dc3963e6319021333fcd4fedff1efb 100644
--- a/apps/app_url.c
+++ b/apps/app_url.c
@@ -101,7 +101,7 @@ static int sendurl_exec(struct ast_channel *chan, const char *data)
 	struct ast_frame *f;
 	char *status = "FAILURE";
 	char *opts[0];
-	struct ast_flags flags;
+	struct ast_flags flags = { 0 };
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(url);
 		AST_APP_ARG(options);