summaryrefslogtreecommitdiffstats
path: root/polyp/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/xmalloc.c')
-rw-r--r--polyp/xmalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/xmalloc.c b/polyp/xmalloc.c
index 7ddefa94..f2751e52 100644
--- a/polyp/xmalloc.c
+++ b/polyp/xmalloc.c
@@ -45,7 +45,9 @@
static void oom(void) {
static const char e[] = "Not enough memory\n";
pa_loop_write(STDERR_FILENO, e, sizeof(e)-1);
+#ifdef SIGQUIT
raise(SIGQUIT);
+#endif
_exit(1);
}