Fix typo in license headers
[oweals/cde.git] / cde / programs / dtmail / libDtMail / Common / Buffer.C
index d5f5dd6052becb547de8d17379752723b619a908..e06b0a4f4fa22c3c4038415e59929c110db76ab4 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -50,7 +50,6 @@
 #if defined(USL) && (OSMAJORVERSION == 2)
 extern "C" {
 #endif
-#include <malloc.h>
 #if defined(USL) && (OSMAJORVERSION == 2)
 };
 #endif
@@ -237,6 +236,8 @@ BufferMemory::iterate(Buffer::CallBack callback, ...)
        // check for problems
         if (ret) break;
     }
+    
+    va_end(va);
  
     return (ret);
 }