Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] JXTA dissector memory leak?

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Wed, 28 Mar 2007 16:41:59 -0700
The dissector file packet-jxta.c has a comment saying that an allocation 
is a memory leak:

    if (NULL != found_addr) {
	found_addr->type = AT_URI;
	found_addr->len = strlen(*current_token);
	/* FIXME 20050605 bondolo THIS ALLOCATION IS A MEMORY LEAK! */
	found_addr->data = g_strdup(*current_token);
    }

Anyone familiar enough with this dissector to fix it easily?


Steve