projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f545a6
)
MATRIX: Fix leak on error path.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 6 Nov 2021 02:59:59 +0000
(19:59 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 6 Nov 2021 02:59:59 +0000
(19:59 -0700)
src/language/stats/matrix.c
patch
|
blob
|
history
diff --git
a/src/language/stats/matrix.c
b/src/language/stats/matrix.c
index c59b3fd2db789e18b8fc66cc9da40039639e1a6c..ca14562a9c797510ddf9307d9674ba8f9c2b2954 100644
(file)
--- a/
src/language/stats/matrix.c
+++ b/
src/language/stats/matrix.c
@@
-4703,6
+4703,7
@@
matrix_parse_read (struct matrix_state *s)
return cmd;
error:
+ fh_unref (fh);
matrix_cmd_destroy (cmd);
free (encoding);
return NULL;