diff options
author | axel <axel@liljencrantz.se> | 2006-07-03 20:39:57 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-07-03 20:39:57 +1000 |
commit | d56ab1d365e6d54535f5942c323c36baebaa7e65 (patch) | |
tree | a1b31411698d88391d6ad7460beea99f31f0877a /wutil.c | |
parent | 38175cdd30cb4897ee3fda8c9afcd9f23d0525f4 (diff) |
Switch from die_mem function to DIE_MEM macro in order to be able to give a line and file for the OOM message
darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
Diffstat (limited to 'wutil.c')
-rw-r--r-- | wutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -108,7 +108,7 @@ static char *wutil_wcs2str( const wchar_t *in ) tmp = realloc( tmp, new_sz ); if( !tmp ) { - die_mem(); + DIE_MEM(); } tmp_len = new_sz; } @@ -135,7 +135,7 @@ static wchar_t *wutil_str2wcs( const char *in ) tmp2 = realloc( tmp2, new_sz ); if( !tmp2 ) { - die_mem(); + DIE_MEM(); } tmp2_len = new_sz; } |