From 5b28630b6d0df0470883eb98be6518214e6756d1 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 27 Jun 2023 17:11:23 -0400 Subject: [PATCH] cwFile.h : Fix comment. --- cwFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwFile.h b/cwFile.h index b608292..35382c0 100644 --- a/cwFile.h +++ b/cwFile.h @@ -160,7 +160,7 @@ namespace cw // // On the first call to this function *bufPtrPtr must be set to nullptr and // *bufByteCntPtr must be set to 0. - // Following the last call to this function call cmMemPtrFree(bufPtrptr) + // Following the last call to this function call mem::release(bufPtrptr) // to be sure the line buffer is fully released. Note this step is not // neccessary if the last call does not return kOkFileRC. rc_t getLineAuto( handle_t h, char** bufPtrPtr, unsigned* bufByteCntPtr );