[Libreoffice-commits] core.git: vcl/source
Norbert Thiebaud
nthiebaud at gmail.com
Mon Feb 18 07:55:10 PST 2013
vcl/source/gdi/pdfwriter_impl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 70f7cf2dc4fe5aa91f52ee13e743d85365e791a4
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Feb 17 13:38:48 2013 -0600
coverity#983232 Resource leak
Change-Id: If4704847d4ef69d512f05dc12bcb01ac0d9d54b3
Reviewed-on: https://gerrit.libreoffice.org/2201
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index cf20099..396c727 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -2043,6 +2043,7 @@ void PDFWriterImpl::computeDocumentIdentifier( std::vector< sal_uInt8 >& o_rIden
//the binary form of the doc id is needed for encryption stuff
rtl_digest_getMD5( aDigest, &o_rIdentifier[0], 16 );
}
+ rtl_digest_destroyMD5(aDigest);
}
}
More information about the Libreoffice-commits
mailing list