From 98c9150809363573fdab040d6483d595175879d0 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Tue, 31 Mar 2020 12:49:24 -0400 Subject: [PATCH] cwFile.cpp : Fixed bug in _fnToBuf(). --- cwFile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cwFile.cpp b/cwFile.cpp index 794c439..380707b 100644 --- a/cwFile.cpp +++ b/cwFile.cpp @@ -81,6 +81,7 @@ namespace cw buf = _fileToBuf(h,nn,bufByteCntPtr); + return buf; errLabel: close(h);