- plug a memory leak, from git
This commit is contained in:
parent
c89471ef26
commit
7076e53a27
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.43 2010/04/20 18:08:24 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.44 2010/05/11 20:49:39 jasper Exp $
|
||||
|
||||
COMMENT= lightweight window manager
|
||||
|
||||
GNOME_PROJECT= metacity
|
||||
GNOME_VERSION= 2.30.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
SHARED_LIBS += metacity-private 1.0 # .0.0
|
||||
|
||||
|
21
x11/gnome/metacity/patches/patch-src_ui_theme_c
Normal file
21
x11/gnome/metacity/patches/patch-src_ui_theme_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-src_ui_theme_c,v 1.1 2010/05/11 20:49:39 jasper Exp $
|
||||
|
||||
Plug a memory leak in theme optimisation.
|
||||
Upstream git bc14af3aaa0cd4c51d4558209adf2fee9878b071
|
||||
|
||||
--- src/ui/theme.c.orig Tue May 11 22:43:55 2010
|
||||
+++ src/ui/theme.c Tue May 11 22:44:37 2010
|
||||
@@ -2559,11 +2559,13 @@ meta_theme_replace_constants (MetaTheme *theme,
|
||||
{
|
||||
if (meta_theme_lookup_int_constant (theme, t->d.v.name, &ival))
|
||||
{
|
||||
+ g_free (t->d.v.name);
|
||||
t->type = POS_TOKEN_INT;
|
||||
t->d.i.val = ival;
|
||||
}
|
||||
else if (meta_theme_lookup_float_constant (theme, t->d.v.name, &dval))
|
||||
{
|
||||
+ g_free (t->d.v.name);
|
||||
t->type = POS_TOKEN_DOUBLE;
|
||||
t->d.d.val = dval;
|
||||
}
|
Loading…
Reference in New Issue
Block a user