mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
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
This commit is contained in:
parent
5bcb8251f5
commit
0ffcbdc9b4
7 changed files with 0 additions and 450 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue