Package: firestarter
Version: 1.0.3-6
Followup-For: Bug #449051

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm attaching a fix for this bug.

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages firestarter depends on:
ii  gconf2                 2.20.1-2          GNOME configuration database syste
ii  gksu                   2.0.0-5           graphical frontend to su
ii  iptables               1.3.8.0debian1-1  administration tools for packet fi
ii  libart-2.0-2           2.3.20-1          Library of functions for 2D graphi
ii  libatk1.0-0            1.20.0-1          The ATK accessibility toolkit
ii  libbonobo2-0           2.21.90-1         Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.21.90-1         The Bonobo UI library
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libcairo2              1.4.14-1          The Cairo 2D vector graphics libra
ii  libfontconfig1         2.5.0-2           generic font configuration library
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libgconf2-4            2.20.1-2          GNOME configuration database syste
ii  libglade2-0            1:2.6.2-1         library to load .glade files at ru
ii  libglib2.0-0           2.14.5-2          The GLib library of C routines
ii  libgnome2-0            2.20.1.1-1        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      2.20.1.1-1        A powerful object-oriented display
ii  libgnomeui-0           2.20.1.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0         1:2.20.1-1        GNOME Virtual File System (runtime
ii  libgtk2.0-0            2.12.7-1          The GTK+ graphical user interface 
hi  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  liborbit2              1:2.14.10-0.1     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0          1.18.4-1          Layout and rendering of internatio
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libpopt0               1.10-3            lib for parsing cmdline parameters
hi  libsm6                 2:1.0.3-1+b1      X11 Session Management library
hi  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxml2                2.6.31.dfsg-1     GNOME XML library
ii  libxrender1            1:0.9.4-1         X Rendering Extension client libra
ii  lsb-base               3.1-24            Linux Standard Base 3.1 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

firestarter recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHpekx823633cP2P8RAkm0AJ9iVEHJSnLS8ToEAYKMNSJiPzCQaACfdHEA
r9xuMm4Hrxfg6bxAkpUU4VE=
=iSba
-----END PGP SIGNATURE-----
--- firestarter-1.0.3/src/statusview.c~	2005-01-29 09:32:08.000000000 -0300
+++ firestarter-1.0.3/src/statusview.c	2008-02-03 12:48:14.000000000 -0200
@@ -313,7 +313,7 @@
 connectionview_append_connection (gchar *source, gchar *destination, gchar *port, gchar *service)
 {
 	GtkListStore *store = get_connectionstore ();
-	GtkTreeIter *iter = g_new (GtkTreeIter, 1);
+	GtkTreeIter iter;
 	unsigned long inode = -1;
 	gchar *program;
 	static gchar *firewall_ip = NULL;
@@ -332,8 +332,8 @@
 	else
 		program = g_strdup ("");
 
-	gtk_list_store_append (store, iter);
-	gtk_list_store_set (store, iter,
+	gtk_list_store_append (store, &iter);
+	gtk_list_store_set (store, &iter,
 	                    CONNECTIONCOL_SOURCE, source,
 	                    CONNECTIONCOL_DESTINATION, destination,
 	                    CONNECTIONCOL_PORT, port,
@@ -344,7 +344,7 @@
 
 	gtk_tree_view_columns_autosize (GTK_TREE_VIEW (connectionview));
 
-	return iter;
+	return gtk_tree_iter_copy(&iter);
 }
 
 static void

Reply via email to