projects
/
platform
/
upstream
/
ejdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dd4d9
)
fixed malloc issue
author
adam
<adamansky@gmail.com>
Thu, 18 Jul 2013 14:11:51 +0000
(21:11 +0700)
committer
adam
<adamansky@gmail.com>
Thu, 18 Jul 2013 14:11:51 +0000
(21:11 +0700)
tcejdb/ejdb.h
patch
|
blob
|
history
tcejdb/nxjson.c
patch
|
blob
|
history
diff --git
a/tcejdb/ejdb.h
b/tcejdb/ejdb.h
index
a21c79d
..
ecb67b0
100644
(file)
--- a/
tcejdb/ejdb.h
+++ b/
tcejdb/ejdb.h
@@
-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 shou
l
d call `bson_del()` on it.
*/
EJDB_EXPORT bson* ejdbcommand(EJDB *jb, bson *cmdbson);
EJDB_EXPORT bson* ejdbcommand2(EJDB *jb, void *cmdbsondata);
diff --git
a/tcejdb/nxjson.c
b/tcejdb/nxjson.c
index
2505ac1
..
5ae7f68
100644
(file)
--- a/
tcejdb/nxjson.c
+++ b/
tcejdb/nxjson.c
@@
-29,7
+29,6
@@
extern "C" {
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
#include <assert.h>
#include "nxjson.h"