projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1a1cd
)
Fixed memory leak in comedi_cleanup_calibration().
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 29 Aug 2008 19:17:40 +0000
(19:17 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 29 Aug 2008 19:17:40 +0000
(19:17 +0000)
lib/calib_yacc.y
patch
|
blob
|
history
diff --git
a/lib/calib_yacc.y
b/lib/calib_yacc.y
index 5c256a8a1050b0b5cfc4df279fa1adb4ad3ab5db..5a2dd95120b3f6e72d3c4841ca33fe262702b0f3 100644
(file)
--- a/
lib/calib_yacc.y
+++ b/
lib/calib_yacc.y
@@
-101,6
+101,7
@@
static void free_settings( comedi_calibration_t *file_contents )
{
free_calibration_setting( &file_contents->settings[ i ] );
}
+ free(file_contents->settings);
file_contents->settings = NULL;
}