fixed malloc issue
authoradam <adamansky@gmail.com>
Thu, 18 Jul 2013 14:11:51 +0000 (21:11 +0700)
committeradam <adamansky@gmail.com>
Thu, 18 Jul 2013 14:11:51 +0000 (21:11 +0700)
tcejdb/ejdb.h
tcejdb/nxjson.c

index a21c79d..ecb67b0 100644 (file)
@@ -594,7 +594,7 @@ EJDB_EXPORT bool ejdbimport(EJDB *jb, const char *path, TCLIST *cnames, int flag
  *
  * @param jb    EJDB database handle.
  * @param cmd   BSON command spec.
- * @return Allocated BSON command response object. Caller shoud call `bson_del()` on it.
+ * @return Allocated BSON command response object. Caller should call `bson_del()` on it.
  */
 EJDB_EXPORT bson* ejdbcommand(EJDB *jb, bson *cmdbson);
 EJDB_EXPORT bson* ejdbcommand2(EJDB *jb, void *cmdbsondata);
index 2505ac1..5ae7f68 100644 (file)
@@ -29,7 +29,6 @@ extern "C" {
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include <malloc.h>
 #include <assert.h>
 
 #include "nxjson.h"