diff --git a/main/features.c b/main/features.c
index bd8cb4c1461b53565fe8949f332a61adfa9af2f9..eb70a0c89d00531f70599edffa2e802c9093a2bf 100644
--- a/main/features.c
+++ b/main/features.c
@@ -744,7 +744,7 @@ static struct parkeduser *park_space_reserve(struct ast_channel *chan, struct as
 	int i, parking_space = -1, parking_range;
 	const char *parkinglotname = NULL;
 	const char *parkingexten;
-	struct ast_parkinglot *parkinglot;
+	struct ast_parkinglot *parkinglot = NULL;
 
 	if (args->parkinglot) {
 		parkinglot = args->parkinglot;