from CVS:
- fix 2 mem leaks - fix for plugin search path
This commit is contained in:
parent
dd8e7525fa
commit
2201a978a0
11
net/gaim/patches/patch-plugins_relnot_c
Normal file
11
net/gaim/patches/patch-plugins_relnot_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-plugins_relnot_c,v 1.1 2003/11/23 22:39:27 brad Exp $
|
||||
--- plugins/relnot.c.orig 2003-11-23 17:19:23.000000000 -0500
|
||||
+++ plugins/relnot.c 2003-11-23 17:20:35.000000000 -0500
|
||||
@@ -79,6 +79,7 @@ version_fetch_cb(void *ud, const char *d
|
||||
NULL, NULL);
|
||||
|
||||
g_string_free(message, TRUE);
|
||||
+ g_free(cur_ver);
|
||||
}
|
||||
|
||||
static void
|
12
net/gaim/patches/patch-src_gtkblist_c
Normal file
12
net/gaim/patches/patch-src_gtkblist_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_gtkblist_c,v 1.1 2003/11/23 22:39:27 brad Exp $
|
||||
--- src/gtkblist.c.orig 2003-11-23 17:11:50.000000000 -0500
|
||||
+++ src/gtkblist.c 2003-11-23 17:12:48.000000000 -0500
|
||||
@@ -3036,8 +3036,6 @@ gaim_gtk_blist_request_add_buddy(GaimAcc
|
||||
|
||||
gtkblist = GAIM_GTK_BLIST(gaim_get_blist());
|
||||
|
||||
- GAIM_DIALOG(data->window);
|
||||
-
|
||||
data->window = gtk_dialog_new_with_buttons(_("Add Buddy"),
|
||||
(gtkblist->window ? GTK_WINDOW(gtkblist->window) : NULL), 0,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
12
net/gaim/patches/patch-src_main_c
Normal file
12
net/gaim/patches/patch-src_main_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.1 2003/11/23 22:39:27 brad Exp $
|
||||
--- src/main.c.orig 2003-11-23 17:16:17.000000000 -0500
|
||||
+++ src/main.c 2003-11-23 17:17:21.000000000 -0500
|
||||
@@ -839,7 +839,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
plugin_search_paths[0] = LIBDIR;
|
||||
plugin_search_paths[1] = gaim_user_dir();
|
||||
- plugin_search_paths[2] = g_strdup_printf("%s/plugins", gaim_user_dir());
|
||||
+ plugin_search_paths[2] = g_build_filename(gaim_user_dir(), "plugins", NULL);
|
||||
|
||||
gaim_plugins_set_search_paths(sizeof(plugin_search_paths) /
|
||||
sizeof(*plugin_search_paths),
|
Loading…
Reference in New Issue
Block a user