Bug#610305: antigravitaattori: [DACA] [PATCH] Mismatching allocation and deallocation + Memory leak

Mario Lang mlang at debian.org
Mon Jan 17 12:49:34 UTC 2011


Package: antigravitaattori
Version: 0.0.3-2+b1
Severity: minor
Tag: patch

According to

http://qa.debian.org/daca/cppcheck/sid/antigrav_0.0.3-2.html

antigravitaattori

* Uses delete instead of delete[] in a few places.
* Forgets to free an allocated buffer in an error path.

Attached patch fixes these issues.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110117/150f512f/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: daca-antigrav.patch
Type: text/x-diff
Size: 839 bytes
Desc: Fix issues detected by cppcheck (DACA)
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110117/150f512f/attachment.patch>
-------------- next part --------------

-- 
CYa,
  ????? | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


More information about the Pkg-games-devel mailing list