| Posted by: | stick84 |
| Subject: | memory leak or maybe redundant code |
| Date: | 08:37:27 25/09/2009 |
We've received the following report from a reporter:
------
I just had a look at factory package kismet-2009_06_R1-2.1
For source code file kismet-2009-06-R1/dumpfile_tuntap.cc around line
240, function Dumpfile_Tuntap::OpenTuntap, is the following code
ipc_dft_open *dfto = new ipc_dft_open;
but I fail to detect a matching call to delete. This looks like a memory
leak to me. I also notice that the only thing that happens
to local variable dfto is
dfto->tapdevice[0] = 0;
so it may be the case that dfto is a candidate for removal.
Reply to this message