[Pkg-octave-devel] Bug#541433: octave-sockets: memory leak
Paul Sundvall
slask at paulsundvall.net
Fri Aug 14 06:22:37 UTC 2009
Package: octave-sockets
Version: 1.0.4-3
Severity: important
There are two memory leaks in sockets.cc
The first one is a new[] which is paired with delete and not delete[].
The second one has a new[] but no delete[].
I suggest a patch which is attached.
Thanks,
Paul
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages octave-sockets depends on:
ii libatlas3gf-base [libl 3.6.0-22 Automatically Tuned Linear Algebra
ii libblas3gf [libblas.so 1.2-2 Basic Linear Algebra Subroutines 3
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libfftw3-3 3.1.2-3.1 library for computing Fast Fourier
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libgfortran3 4.3.2-1.1 Runtime library for GNU Fortran ap
ii libhdf5-serial-1.6.6-0 1.6.6-4 Hierarchical Data Format 5 (HDF5)
ii liblapack3gf [liblapac 3.1.1-1 library of linear algebra routines
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
ii libreadline5 5.2-3.1 GNU readline and history libraries
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii octave3.0 1:3.0.1-6lenny3 GNU Octave language for numerical
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
octave-sockets recommends no packages.
octave-sockets suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave_socket_memoryleak.patch
Type: text/x-c++
Size: 1469 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20090814/e0932ec1/attachment.bin>
More information about the Pkg-octave-devel
mailing list