27 lines
861 B
Diff
27 lines
861 B
Diff
|
From 54951cef0e5ea3caeae1eb0ec33db7ed37d0d4b3 Mon Sep 17 00:00:00 2001
|
||
|
From: Frederic Crozat <fcrozat@suse.com>
|
||
|
Date: Thu, 12 Jun 2014 13:50:51 +0200
|
||
|
Subject: [PATCH] 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).
|
||
|
---
|
||
|
src/libply-splash-core/ply-device-manager.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/libply-splash-core/ply-device-manager.c b/src/libply-splash-core/ply-device-manager.c
|
||
|
index dbc203d..aa4d15c 100644
|
||
|
--- a/src/libply-splash-core/ply-device-manager.c
|
||
|
+++ b/src/libply-splash-core/ply-device-manager.c
|
||
|
@@ -442,7 +442,6 @@ free_terminal (char *device,
|
||
|
{
|
||
|
ply_hashtable_remove (manager->terminals, device);
|
||
|
|
||
|
- ply_terminal_close (terminal);
|
||
|
ply_terminal_free (terminal);
|
||
|
}
|
||
|
|
||
|
--
|
||
|
1.8.4.5
|
||
|
|