From: Frederic Crozat Date: Thu, 12 Jun 2014 13:01:37 +0000 (+0200) Subject: device-manager: only call ply_terminal_free X-Git-Tag: 0.9.2~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e17f3b92025a6067874c41c6c7ce3cffedfb6afa;p=thirdparty%2Fplymouth.git device-manager: only call ply_terminal_free ply_terminal_free will call ply_terminal_close anyway and is guarded against NULL terminal (ply_terminal_close is not). --- diff --git a/src/libply-splash-core/ply-device-manager.c b/src/libply-splash-core/ply-device-manager.c index e9047086..8dce68b3 100644 --- a/src/libply-splash-core/ply-device-manager.c +++ b/src/libply-splash-core/ply-device-manager.c @@ -412,7 +412,6 @@ free_terminal (char *device, { ply_hashtable_remove (manager->terminals, device); - ply_terminal_close (terminal); ply_terminal_free (terminal); }