From dabf75193e7e85e80b858eac60453003aef29725 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Tue, 5 Jun 2001 00:27:41 +0000 Subject: [PATCH] 2001-06-04 Dave Peticolas * src/gnome/window-main.c: fix mem leak * doc/sgml/C/xacc-about.sgml: update credits * AUTHORS: update credits git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4425 57a11ea4-9604-0410-9ed3-97b8803252fd --- AUTHORS | 2 +- ChangeLog | 6 ++++++ doc/sgml/C/xacc-about.sgml | 2 +- src/gnome/window-main.c | 4 +++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 967e7f9792..a231172c0f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -67,7 +67,7 @@ Christian Stimming is a report-generating infrastructure, creating many of the important reports. -Fixes & Patches: +Other Contributors: ---------------- (In alphabetical order) diff --git a/ChangeLog b/ChangeLog index 4e5b4adc80..98f3175b1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2001-06-04 Dave Peticolas + * src/gnome/window-main.c: fix mem leak + + * doc/sgml/C/xacc-about.sgml: update credits + + * AUTHORS: update credits + * lib/srfi/srfi-19.scm: fix bug. 2001-06-04 Rob Browning diff --git a/doc/sgml/C/xacc-about.sgml b/doc/sgml/C/xacc-about.sgml index 890b3c9dda..88fb9302d6 100644 --- a/doc/sgml/C/xacc-about.sgml +++ b/doc/sgml/C/xacc-about.sgml @@ -179,7 +179,7 @@ linkend="scheme"> Scheme , the g-wrap -Fixers and Patchers +Other Contributors The cast of thousands includes: diff --git a/src/gnome/window-main.c b/src/gnome/window-main.c index 76e61573c0..794e9b996e 100644 --- a/src/gnome/window-main.c +++ b/src/gnome/window-main.c @@ -1135,9 +1135,11 @@ gnc_main_window_create_child_toolbar(GNCMainInfo * mi, (child->toolbar_size - 1)*sizeof(GnomeUIInfo)); cur += child->toolbar_size - 1; memcpy(cur, post_tb, sizeof(post_tb)); - + child->toolbar = GTK_WIDGET(tb); + g_free(child->toolbar_info); + child->toolbar_info = tbinfo; child->toolbar_size = (sizeof(pre_tb) + sizeof(post_tb)) / sizeof(GnomeUIInfo) +