forked from osmocom/wireshark
tvbuff_lz*: fix typo in comment
Change-Id: Id2b36454e678151ea5948f8e068ef400dd562188 Reviewed-on: https://code.wireshark.org/review/33985 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
3e26533c08
commit
f735f916a9
|
@ -113,9 +113,9 @@ tvb_uncompress_lz77(tvbuff_t *tvb, const int offset, int in_size)
|
|||
if (ok) {
|
||||
/*
|
||||
* Cannot pass a tvb free callback that frees the wmem
|
||||
* pool, so we make an make an extra copy that uses
|
||||
* bare pointers. This could be optimized if tvb API
|
||||
* had a free pool callback of some sort.
|
||||
* pool, so we make an extra copy that uses bare
|
||||
* pointers. This could be optimized if tvb API had a
|
||||
* free pool callback of some sort.
|
||||
*/
|
||||
guint size = wmem_array_get_count(obuf);
|
||||
guint8 *p = (guint8 *)g_malloc(size);
|
||||
|
|
|
@ -378,9 +378,9 @@ tvb_uncompress_lz77huff(tvbuff_t *tvb,
|
|||
if (ok) {
|
||||
/*
|
||||
* Cannot pass a tvb free callback that frees the wmem
|
||||
* pool, so we make an make an extra copy that uses
|
||||
* bare pointers. This could be optimized if tvb API
|
||||
* had a free pool callback of some sort.
|
||||
* pool, so we make an extra copy that uses bare
|
||||
* pointers. This could be optimized if tvb API had a
|
||||
* free pool callback of some sort.
|
||||
*/
|
||||
guint size = wmem_array_get_count(obuf);
|
||||
guint8 *p = (guint8 *)g_malloc(size);
|
||||
|
|
|
@ -124,9 +124,9 @@ tvb_uncompress_lznt1(tvbuff_t *tvb, const int offset, int in_size)
|
|||
if (ok) {
|
||||
/*
|
||||
* Cannot pass a tvb free callback that frees the wmem
|
||||
* pool, so we make an make an extra copy that uses
|
||||
* bare pointers. This could be optimized if tvb API
|
||||
* had a free pool callback of some sort.
|
||||
* pool, so we make an extra copy that uses bare
|
||||
* pointers. This could be optimized if tvb API had a
|
||||
* free pool callback of some sort.
|
||||
*/
|
||||
guint size = wmem_array_get_count(obuf);
|
||||
guint8 *p = (guint8 *)g_malloc(size);
|
||||
|
|
Loading…
Reference in New Issue