diff -u metacity-2.18.2/debian/changelog metacity-2.18.2/debian/changelog --- metacity-2.18.2/debian/changelog +++ metacity-2.18.2/debian/changelog @@ -1,3 +1,11 @@ +metacity (1:2.18.2-0ubuntu1.1) feisty-proposed; urgency=low + + * debian/patches/007_fix_crash_on_session_closing.patch: + - fix crash when the session is saved and a software not handling + it correctly is running (Ubuntu: #106350) + + -- Sebastien Bacher Thu, 26 Apr 2007 00:16:29 +0200 + metacity (1:2.18.2-0ubuntu1) feisty; urgency=low * New upstream version: only in patch2: unchanged: --- metacity-2.18.2.orig/debian/patches/007_fix_crash_on_session_closing.patch +++ metacity-2.18.2/debian/patches/007_fix_crash_on_session_closing.patch @@ -0,0 +1,22 @@ +diff -Nur metacity-2.18.2/src/session.c metacity-2.18.2.new/src/session.c +--- metacity-2.18.2/src/session.c 2007-04-08 20:46:17.000000000 +0200 ++++ metacity-2.18.2.new/src/session.c 2007-04-26 00:18:24.000000000 +0200 +@@ -1824,8 +1824,6 @@ + + display_iter = display_iter->next; + } +- /* don't need to free displays */ +- displays = NULL; + + if (lame == NULL) + { +@@ -1839,6 +1837,9 @@ + timestamp = meta_display_get_current_time_roundtrip (displays->data); + sprintf (timestampbuf, "%u", timestamp); + ++ /* don't need to free displays */ ++ displays = NULL; ++ + len = g_slist_length (lame); + len *= 2; /* titles and also classes */ + len += 2; /* --timestamp flag and actual timestamp */