diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-02-26 14:14:16 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-02-26 22:15:03 +0000 |
commit | 910949ce8436caf850bfb0fd22873854f77b8291 (patch) | |
tree | dd8af6b0398db3d5524da0490b18244f9d80068f /epan/tvbuff.h | |
parent | 8d234a0d8c6c974a374e36a58cd7b3d699866464 (diff) | |
download | wireshark-910949ce8436caf850bfb0fd22873854f77b8291.tar.gz |
Some g_free() -> wmem_free() changes missed in earlier checkins.
Change-Id: I5858e0ee8fc8584b35145c943e19e8e5f7dba77c
Reviewed-on: https://code.wireshark.org/review/413
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index d1eb66216e..e126ffd826 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -371,7 +371,7 @@ WS_DLL_PUBLIC guint32 tvb_get_bits(tvbuff_t *tvb, const guint bit_offset, WS_DLL_PUBLIC void *tvb_memcpy(tvbuff_t *tvb, void *target, const gint offset, size_t length); -/** If scope is set to NULL it is the user's responsibility to g_free() +/** If scope is set to NULL it is the user's responsibility to wmem_free() * the memory allocated by tvb_memdup(). Otherwise memory is * automatically freed when the scope lifetime is reached. * Calls tvb_memcpy() */ @@ -523,7 +523,7 @@ WS_DLL_PUBLIC guint8 *tvb_get_string_enc(wmem_allocator_t *scope, * * Throws an exception if the tvbuff ends before the string does. * - * If scope is set to NULL it is the user's responsibility to g_free() + * If scope is set to NULL it is the user's responsibility to wmem_free() * the memory allocated by tvb_memdup(). Otherwise memory is * automatically freed when the scope lifetime is reached. */ |