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