diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-19 20:30:19 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-19 20:30:19 +0000 |
commit | 0ffcbdc9b4d7bf247a6ee0f7884f0648072f94d5 (patch) | |
tree | 2f4bdb7a7e12d8266910d566187fd9838457bf45 /src/lib-config | |
parent | 5bcb8251f5350a4ebdd68ec3b1d7bf8015946d80 (diff) | |
download | irssi-0ffcbdc9b4d7bf247a6ee0f7884f0648072f94d5.zip |
Removed memory debugging code. It's a lot easier to check for buffer
overflows with electric fence and memory leaks with memprof.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2095 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/lib-config')
-rw-r--r-- | src/lib-config/parse.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib-config/parse.c b/src/lib-config/parse.c index 883a920b..a97c6b09 100644 --- a/src/lib-config/parse.c +++ b/src/lib-config/parse.c @@ -82,11 +82,7 @@ static void config_parse_get_token(GScanner *scanner, CONFIG_NODE *node) } else { if (scanner->token == G_TOKEN_INT) { scanner->token = G_TOKEN_STRING; -#undef g_strdup_printf /* This is free'd by GLib itself */ scanner->value.v_string = g_strdup_printf("%lu", scanner->value.v_int); -#ifdef MEM_DEBUG -#define g_strdup_printf(a, b...) ig_strdup_printf(__FILE__, __LINE__, a, ##b) -#endif } break; } |