From 8fffc74a5b66778c4e7496f2f8c2c20602b67cbe Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 15 May 2011 20:31:15 +0000 Subject: [PATCH] Added forgotten return value to BURN_ALLOC_MEM --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/async.c | 1 + libburn/init.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 0138d11..1602d2f 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.05.15.191420" +#define Cdrskin_timestamP "2011.05.15.203140" diff --git a/libburn/async.c b/libburn/async.c index fd6d0a5..d4c3d91 100644 --- a/libburn/async.c +++ b/libburn/async.c @@ -585,6 +585,7 @@ static void *write_disc_worker_func(struct w_list *w) void burn_disc_write(struct burn_write_opts *opts, struct burn_disc *disc) { + int ret; struct write_opts o; char *reasons= NULL; struct burn_drive *d; diff --git a/libburn/init.h b/libburn/init.h index 9c14178..9cc8eb3 100644 --- a/libburn/init.h +++ b/libburn/init.h @@ -34,7 +34,7 @@ int burn_init_catch_on_abort(int flag); libdax_msgs_submit(libdax_messenger, -1, 0x00000003, \ LIBDAX_MSGS_SEV_FATAL, LIBDAX_MSGS_PRIO_HIGH, \ "Out of virtual memory", 0, 0); \ - goto ex; \ + ret= -1; goto ex; \ } } #define BURN_FREE_MEM(pt) { \