Marcus Meissner
d25a97433e
- Add 0001-splash-remove-pixel_pixel-in-sprite-lib-when-notifie.patch: fix crash when pixel_display is removed. - Add 0001-device-manager-only-call-ply_terminal_free.patch: fix crash. - Add use-mkinitrd.patch: call mkinitrd -B, not dracut for now, otherwise initramfs is being created by plymouth-update-initrd, not initrd file. - Ensure we don't rebuild initrd twice when updating plymouth. - Ensure default theme is SLE/openSUSE (based on %suse_version) OBS-URL: https://build.opensuse.org/request/show/238080 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=146
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
|
|
|