From: arai Date: Mon, 27 May 2002 18:07:05 +0000 (+0000) Subject: * src/lharc.c (xstrdup): no need to call fatal_error(). X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=ce2e035673a9479899199b5c7dbc04023b236f18;p=lha%2Flha.git * src/lharc.c (xstrdup): no need to call fatal_error(). git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@146 6a8cc165-1e22-0410-a132-eb4e3f353aba --- diff --git a/src/lharc.c b/src/lharc.c index 135db34..78a4c4d 100644 --- a/src/lharc.c +++ b/src/lharc.c @@ -627,8 +627,6 @@ xstrdup(str) { int len = strlen(str); char *p = (char *)xmalloc(len + 1); - if (!p) - fatal_error("Not enough memory"); strcpy(p, str); return p; }