Browse Source

Prevented a memory leak that in most cases was closed by a race condition

1.3.4
Thomas Schmitt 8 years ago
parent
commit
83eac67cf5
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/options.c

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2013.11.15.102314"
#define Cdrskin_timestamP "2013.11.16.170431"

2
libburn/options.c

@ -20,6 +20,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "libdax_msgs.h"
extern struct libdax_msgs *libdax_messenger;
@ -93,6 +94,7 @@ int burn_write_opts_clone(struct burn_write_opts *from,
return -1;
}
memcpy(*to, from, sizeof(struct burn_write_opts));
(*to)->refcount= 1;
return 1;
}

Loading…
Cancel
Save