Wireshark mailing list archives

Re: One quick question


From: Guy Harris <guy () alum mit edu>
Date: Mon, 8 Jan 2018 09:35:46 -0800

On Jan 8, 2018, at 5:29 AM, Krishnamurthy Mayya <krishnamurthymayya () gmail com> wrote:

epan_get_frame_ts

Like the above function, is there any utility function in wireshark which fress the memory allocated for the given 
frame_num ?

Are you assuming that epan_get_frame_ts() returns a pointer to a freshly-allocated structure that must be freed when 
the caller no longer needs it?

If so, no, it doesn't.  You do not need to free the structure.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: