diff --git a/xorriso/sfile.h b/xorriso/sfile.h index 67a71e14..a3bbfd0e 100644 --- a/xorriso/sfile.h +++ b/xorriso/sfile.h @@ -16,6 +16,20 @@ #define Smem_malloC malloc #define Smem_freE free +#define Xorriso_alloc_meM(pt,typ,anz) { \ + pt= (typ *) calloc(1, (anz)*sizeof(typ)); \ + if(pt == NULL) { \ + Xorriso_no_malloc_memory(xorriso, NULL, 0); \ + ret= -1; \ + goto ex; \ + } } + +#define Xorriso_free_meM(pt) { \ + if(pt != NULL) \ + free(pt); \ + } + + #define SfileadrL 4096 diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 1d33e267..ca789513 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.06.120834" +#define Xorriso_timestamP "2011.05.06.121218"