diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-05 02:14:03 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-05 02:14:03 +0800 |
commit | fbe21955afbe8e212bac9c165ee424c8ab94eb53 (patch) | |
tree | 81ccfebac315c0e9f2a344bdc1dec9143807e876 /x11/gdm | |
parent | 19e39eccbc242c9593b4c28a4f5a7ddfb3ebc34c (diff) | |
download | marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.tar marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.tar.gz marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.tar.bz2 marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.tar.lz marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.tar.xz marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.tar.zst marcuscom-ports-fbe21955afbe8e212bac9c165ee424c8ab94eb53.zip |
Set a variable to NULL to avoid free'ing a bogus pointer.
Reported by: Pascal Hofstee <caelian@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6213 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm')
-rw-r--r-- | x11/gdm/Makefile | 3 | ||||
-rw-r--r-- | x11/gdm/files/patch-gui_greeter_greeter_parser.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 3b4174796..e8a3ecc59 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom$ +# $MCom: ports/x11/gdm/Makefile,v 1.31 2006/05/04 05:49:19 marcus Exp $ # PORTNAME= gdm PORTVERSION= 2.15.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/x11/gdm/files/patch-gui_greeter_greeter_parser.c b/x11/gdm/files/patch-gui_greeter_greeter_parser.c new file mode 100644 index 000000000..13489e814 --- /dev/null +++ b/x11/gdm/files/patch-gui_greeter_greeter_parser.c @@ -0,0 +1,11 @@ +--- gui/greeter/greeter_parser.c.orig Thu May 4 14:11:25 2006 ++++ gui/greeter/greeter_parser.c Thu May 4 14:11:33 2006 +@@ -506,6 +506,8 @@ parse_gtkbutton (xmlNodePtr node, + + child = node->children; + ++ translated_text = NULL; ++ + while (child) + { + if (strcmp ((char *) child->name, "pos") == 0) |