pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-02
2000-08-02 21:55:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5246d8333edf43935fd924980e472b6b2c12a040 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.0
Fixed memory leak.
Rev: src/builtin_functions.c:1.257
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
256
2000/
06
/
26
17
:
00
:
24
noring
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
257
2000/
08
/
02
21
:
55
:
25
grubba
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
714:
int tmp; ONERROR err;
-
SET_ONERROR(err, free_nonull, cwdbuf);
-
+
if((tmp=IS_ABS(file))) { cwdbuf = (char *)xalloc(tmp+1);
746:
} #endif
+
SET_ONERROR(err, free_nonull, cwdbuf);
+
#ifdef PIKE_DEBUG if(!cwd) fatal("No cwd in combine_path!\n");