OSDN Git Service
(root)
/
lha
/
lha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b70642
)
* src/lharc.c (xstrdup): no need to call fatal_error().
author
arai
<arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 27 May 2002 18:07:05 +0000
(18:07 +0000)
committer
arai
<arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 27 May 2002 18:07:05 +0000
(18:07 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@146
6a8cc165
-1e22-0410-a132-
eb4e3f353aba
src/lharc.c
patch
|
blob
|
history
diff --git
a/src/lharc.c
b/src/lharc.c
index
135db34
..
78a4c4d
100644
(file)
--- 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;
}