git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9acd577
)
CTDB_NO_MEMORY_VOID() needs to return on error
author
Andrew Tridgell
<tridge@samba.org>
Fri, 4 Jul 2008 06:58:29 +0000
(16:58 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 4 Jul 2008 06:58:29 +0000
(16:58 +1000)
include/ctdb_private.h
patch
|
blob
|
history
diff --git
a/include/ctdb_private.h
b/include/ctdb_private.h
index e5a7b8069434e7a2c499afdfb49f08e10b48e521..137dbee5f9a3da4af259e27db3f5b77f3dd682b0 100644
(file)
--- a/
include/ctdb_private.h
+++ b/
include/ctdb_private.h
@@
-439,7
+439,7
@@
struct ctdb_db_context {
#define CTDB_NO_MEMORY_VOID(ctdb, p) do { if (!(p)) { \
DEBUG(0,("Out of memory for %s at %s\n", #p, __location__)); \
ctdb_set_error(ctdb, "Out of memory at %s:%d", __FILE__, __LINE__); \
- }} while (0)
+
return;
}} while (0)
#define CTDB_NO_MEMORY_NULL(ctdb, p) do { if (!(p)) { \
DEBUG(0,("Out of memory for %s at %s\n", #p, __location__)); \