diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-16 15:10:28 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-16 15:10:28 +0200 |
commit | 717548874c0a4e4bfcedf9896ea2fabc56a7b483 (patch) | |
tree | d70971f5f7ed75656b5cdce8abfc238538f174c5 /hwpfilter/source | |
parent | fdo#35668: do not manually free parser context (diff) | |
download | core-717548874c0a4e4bfcedf9896ea2fabc56a7b483.tar.gz core-717548874c0a4e4bfcedf9896ea2fabc56a7b483.zip |
do not leak memory
Diffstat (limited to 'hwpfilter/source')
-rw-r--r-- | hwpfilter/source/solver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hwpfilter/source/solver.cpp b/hwpfilter/source/solver.cpp index caad95701b80..9748769b5d24 100644 --- a/hwpfilter/source/solver.cpp +++ b/hwpfilter/source/solver.cpp @@ -43,6 +43,7 @@ double** mgcLinearSystemD::NewMatrix (int N) { for (int i = 0; i < row; i++) delete[] A[i]; + delete[] A; return 0; } for (int col = 0; col < N; col++) |