aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-03 20:39:57 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-03 20:39:57 +1000
commitd56ab1d365e6d54535f5942c323c36baebaa7e65 (patch)
treea1b31411698d88391d6ad7460beea99f31f0877a /wutil.c
parent38175cdd30cb4897ee3fda8c9afcd9f23d0525f4 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wutil.c b/wutil.c
index 0fa055f6..ab49b2f4 100644
--- a/wutil.c
+++ b/wutil.c
@@ -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;
}