- fix crash on logout (and on the subsequent login, bug 243761)

This commit is contained in:
Ray Strode 2007-09-11 19:48:23 +00:00
parent f7336aa930
commit e9c726582b
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up metacity-2.18.5/src/session.c.dont-deref-null-pointer metacity-2.18.5/src/session.c
--- metacity-2.18.5/src/session.c.dont-deref-null-pointer 2007-09-11 15:41:23.000000000 -0400
+++ metacity-2.18.5/src/session.c 2007-09-11 15:41:34.000000000 -0400
@@ -1824,8 +1824,6 @@ warn_about_lame_clients_and_finish_inter
display_iter = display_iter->next;
}
- /* don't need to free displays */
- displays = NULL;
if (lame == NULL)
{

View File

@ -7,10 +7,11 @@
Summary: Metacity window manager
Name: metacity
Version: %{metacity_version}
Release: 3%{?dist}
Release: 4%{?dist}
URL: http://download.gnome.org/sources/metacity/
Source0: http://download.gnome.org/sources/metacity/2.19/%{metacity_filename}.tar.bz2
Patch0: default-theme.patch
Patch1: metacity-2.18.5-dont-deref-null-pointer.patch
License: GPLv2+
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -64,6 +65,7 @@ API. This package exists purely for technical reasons.
%prep
%setup -q -n %{metacity_filename}
%patch0 -p1 -b .default-theme
%patch1 -p1 -b .dont-deref-null-pointer
%build
rm -rf $RPM_BUILD_ROOT
@ -150,6 +152,9 @@ fi
%{_mandir}/man1/metacity-window-demo.1.gz
%changelog
* Tue Sep 11 2007 Ray Strode <rstrode@redhat.com> - 2.19.55-4
- fix crash on logout (and on the subsequent login, bug 243761)
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 2.19.55-3
- Rebuild for build id