plug a few leaks, from upstream

This commit is contained in:
jasper 2011-05-14 22:46:50 +00:00
parent 61849a4d47
commit a56e42a351
3 changed files with 32 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2011/05/13 21:23:58 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2011/05/14 22:46:50 jasper Exp $
SHARED_ONLY= Yes
@ -12,7 +12,7 @@ COMMENT= GNOME web browser based on webkit
GNOME_PROJECT= epiphany
GNOME_VERSION= 3.0.3
REVISION= 0
REVISION= 1
M= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
SUBST_VARS= M

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_ephy-extensions-manager_c,v 1.1 2011/05/14 22:46:50 jasper Exp $
ephy-extensions-manager: plug leak
From upstream git: 6d839481ccf0e1718f98df27b7cf6890d8059d5b
--- src/ephy-extensions-manager.c.orig Sun May 15 00:36:43 2011
+++ src/ephy-extensions-manager.c Sun May 15 00:37:05 2011
@@ -917,6 +917,7 @@ ephy_extensions_manager_load_dir (EphyExtensionsManage
directory = g_file_new_for_path (path);
monitor = g_file_monitor_directory (directory, 0, NULL, NULL);
+ g_object_unref (directory);
if (monitor != NULL)
{

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_ephy-home-action_c,v 1.1 2011/05/14 22:46:50 jasper Exp $
ephy-home-action: plug leak
From upstream git: 4b60d82f3722d98414fa3b03cac8b081fb79e429
--- src/ephy-home-action.c.orig Sun May 15 00:37:46 2011
+++ src/ephy-home-action.c Sun May 15 00:38:59 2011
@@ -168,6 +168,7 @@ ephy_home_action_activate (GtkAction *action)
action_name_association (action, action_name, address, FALSE);
g_free (address);
+ g_free (action_name);
}
static void