changeset 2159:510af3fee78b

[gaim-migrate @ 2169] whoops. forgot about this case. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 23 Aug 2001 18:45:13 +0000
parents 9b7cb09e2c06
children 13a1695a9ba8
files src/multi.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Wed Aug 22 23:57:36 2001 +0000
+++ b/src/multi.c	Thu Aug 23 18:45:13 2001 +0000
@@ -495,6 +495,14 @@
 
 		char buf[256];
 
+		if (u && u->opt_entries) {
+			g_list_free(u->opt_entries);
+			u->opt_entries = NULL;
+		} else if (!u && tmpusr.opt_entries) {
+			g_list_free(tmpusr.opt_entries);
+			tmpusr.opt_entries = NULL;
+		}
+
 		vbox = gtk_vbox_new(FALSE, 5);
 		gtk_container_set_border_width(GTK_CONTAINER(vbox), 5);
 		g_snprintf(buf, sizeof(buf), "%s Options", (*p->name)());