[Bug 476323] [NEW] 4g8-1.0/src/tcp_hdr.c: 2 * memory leak

dcb dcb314 at hotmail.com
Fri Nov 6 10:13:35 UTC 2009


Public bug reported:

Binary package hint: 4g8


For source code file 4g8-1.0/src/tcp_hdr.c, around line 37
is the code 

    port_src = malloc(sizeof(struct servent));
    port_dst = malloc(sizeof(struct servent));

I fail to find matching calls to free, so these two look
like memory leaks. Further, these local variables appear
to be unused, so suggest delete.

** Affects: 4g8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
4g8-1.0/src/tcp_hdr.c: 2 * memory leak
https://bugs.launchpad.net/bugs/476323
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list