From 64e6e92f20ac549611e93604d80e553bbedd69f1 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Wed, 6 Jun 2007 16:55:48 +0000 Subject: [PATCH] Add g_strdup forgotten in r4471. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4542 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index 733a1f48..82ca4dc4 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -137,7 +137,7 @@ static char *channel_get_nickmode_rec(NICK_REC *nickrec) char *nickmode; if (!settings_get_bool("show_nickmode")) - return ""; + return g_strdup(""); emptystr = settings_get_bool("show_nickmode_empty") ? " " : "";