diff --git a/apps/app_queue.c b/apps/app_queue.c
index a94509e736b8133d84f70fe5aedeeb7a7aafc747..00e4005a902ea2827788a8710d36751935488e8e 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2208,6 +2208,7 @@ static void queue_publish_member_blob(struct stasis_message_type *type, struct a
 	RAII_VAR(struct stasis_message *, msg, NULL, ao2_cleanup);
 
 	if (!blob || !type) {
+		ast_json_unref(blob);
 		return;
 	}