Add patch for RH bug #1754321 (alarm-notify: Double-free with certain types of the reminder)
parent
8963b566ed
commit
a99f92dd6a
@ -0,0 +1,26 @@
|
||||
diff --git a/src/services/evolution-alarm-notify/e-alarm-notify.c b/src/services/evolution-alarm-notify/e-alarm-notify.c
|
||||
index a97e258b4..7eba95f60 100644
|
||||
--- a/src/services/evolution-alarm-notify/e-alarm-notify.c
|
||||
+++ b/src/services/evolution-alarm-notify/e-alarm-notify.c
|
||||
@@ -139,8 +139,6 @@ e_alarm_notify_audio (EAlarmNotify *an,
|
||||
if (!did_play)
|
||||
gdk_beep ();
|
||||
|
||||
- g_slist_free_full (attachments, g_object_unref);
|
||||
-
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -456,12 +454,9 @@ e_alarm_notify_procedure (EAlarmNotify *an,
|
||||
if (!result)
|
||||
goto fallback;
|
||||
|
||||
- g_slist_free_full (attachments, g_object_unref);
|
||||
-
|
||||
return FALSE;
|
||||
|
||||
fallback:
|
||||
- g_slist_free_full (attachments, g_object_unref);
|
||||
|
||||
return e_alarm_notify_display (an, rd, alarm);
|
||||
}
|
Loading…
Reference in new issue