From efaeef928656f26e431de0f567d906af0ad32466 Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Tue, 7 Nov 2017 19:59:53 +0900 Subject: [PATCH] [0.3.78] init handle in case of err Change-Id: I83033d216c1fc0e17f38ddcfefe0b055e758c5c7 --- src/player.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player.c b/src/player.c index 4a5d7a2..4867aea 100644 --- a/src/player.c +++ b/src/player.c @@ -1813,6 +1813,7 @@ int player_create(player_h * player) } g_free(pc); pc = NULL; + *player = NULL; return ret; } -- 2.7.4