Added forgotten return value to BURN_ALLOC_MEM

This commit is contained in:
Thomas Schmitt 2011-05-15 20:31:15 +00:00
parent 8fd81d4ec4
commit 8fffc74a5b
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.05.15.191420" #define Cdrskin_timestamP "2011.05.15.203140"

View File

@ -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) void burn_disc_write(struct burn_write_opts *opts, struct burn_disc *disc)
{ {
int ret;
struct write_opts o; struct write_opts o;
char *reasons= NULL; char *reasons= NULL;
struct burn_drive *d; struct burn_drive *d;

View File

@ -34,7 +34,7 @@ int burn_init_catch_on_abort(int flag);
libdax_msgs_submit(libdax_messenger, -1, 0x00000003, \ libdax_msgs_submit(libdax_messenger, -1, 0x00000003, \
LIBDAX_MSGS_SEV_FATAL, LIBDAX_MSGS_PRIO_HIGH, \ LIBDAX_MSGS_SEV_FATAL, LIBDAX_MSGS_PRIO_HIGH, \
"Out of virtual memory", 0, 0); \ "Out of virtual memory", 0, 0); \
goto ex; \ ret= -1; goto ex; \
} } } }
#define BURN_FREE_MEM(pt) { \ #define BURN_FREE_MEM(pt) { \