chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae03c1c
)
fix memory leak in nlopt_create
author
stevenj
<stevenj@alum.mit.edu>
Mon, 5 Apr 2010 00:56:32 +0000
(20:56 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Mon, 5 Apr 2010 00:56:32 +0000
(20:56 -0400)
darcs-hash:
20100405005632
-c8de0-
ed92251161dc73aa8ac61a40e0cd2395f266c351
.gz
api/options.c
patch
|
blob
|
history
diff --git
a/api/options.c
b/api/options.c
index 18cdbd427f44dad37e26926c1719fbff605763d2..6474c44a373b2e26d4783e57a2170656308f3263 100644
(file)
--- a/
api/options.c
+++ b/
api/options.c
@@
-42,6
+42,7
@@
void nlopt_destroy(nlopt_opt opt)
free(opt->h);
nlopt_destroy(opt->local_opt);
free(opt->dx);
+ free(opt);
}
}