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:
Aurelien Aptel 2019-07-17 13:49:18 +02:00 committed by Guy Harris
parent 3e26533c08
commit f735f916a9
3 changed files with 9 additions and 9 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);