projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lex_get_text_buffer_read: Avoid potential buffer overflow.
[pspp]
/
src
/
libpspp
/
ext-array.c
diff --git
a/src/libpspp/ext-array.c
b/src/libpspp/ext-array.c
index 68bbe954f38768d80d48a9c1f90ae71873daf086..57ff8e4a7d6225e3b56c9b71c0760e6e9570f635 100644
(file)
--- a/
src/libpspp/ext-array.c
+++ b/
src/libpspp/ext-array.c
@@
-69,7
+69,7
@@
ext_array_destroy (struct ext_array *ea)
{
ok = !ext_array_error (ea);
if (ea->file != NULL)
{
ok = !ext_array_error (ea);
if (ea->file != NULL)
-
fclos
e (ea->file);
+
close_temp_fil
e (ea->file);
free (ea);
}
return ok;
free (ea);
}
return ok;