summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2011-02-10 17:47:32 +0900
committerAkira TAGOH <akira@tagoh.org>2011-02-10 17:47:32 +0900
commitcabb5fcaffbb7fc31344a63a5081f0613dade91b (patch)
tree96c2c3cf69c98bded82501af7a556952f2dd20d5
parent11c0f8fa1889cd56015705eebf9d329df28508bd (diff)
warn OOM if any
-rw-r--r--hieroglyph/hgmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hieroglyph/hgmem.c b/hieroglyph/hgmem.c
index b948de2..1f7fdc2 100644
--- a/hieroglyph/hgmem.c
+++ b/hieroglyph/hgmem.c
@@ -371,6 +371,7 @@ hg_mem_alloc_with_flags(hg_mem_t *mem,
goto retry;
}
}
+ hg_warning("Out of memory");
}
return retval;