projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df6d25
)
murphy-db: sizeof(int*) -> sizeof(int) as reported by static analysis.
author
Ismo Puustinen
<ismo.puustinen@intel.com>
Mon, 22 Jul 2013 20:29:24 +0000
(23:29 +0300)
committer
Ismo Puustinen
<ismo.puustinen@intel.com>
Mon, 22 Jul 2013 20:29:24 +0000
(23:29 +0300)
src/murphy-db/mdb/index.c
patch
|
blob
|
history
diff --git
a/src/murphy-db/mdb/index.c
b/src/murphy-db/mdb/index.c
index
d883baa
..
77ec8f4
100644
(file)
--- a/
src/murphy-db/mdb/index.c
+++ b/
src/murphy-db/mdb/index.c
@@
-100,7
+100,7
@@
int mdb_index_create(mdb_table_t *tbl, char **index_columns)
}
}
- if (!(idxcols = realloc(idxcols, sizeof(int
*
) * (i+1)))) {
+ if (!(idxcols = realloc(idxcols, sizeof(int) * (i+1)))) {
errno = ENOMEM;
return -1;
}