diff --git a/libburn/libdax_audioxtr.c b/libburn/libdax_audioxtr.c index c3b8000..1a88a99 100644 --- a/libburn/libdax_audioxtr.c +++ b/libburn/libdax_audioxtr.c @@ -30,7 +30,7 @@ int libdax_audioxtr_new(struct libdax_audioxtr **xtr, char *path, int flag) int ret; struct libdax_audioxtr *o; - o= *xtr= (struct libdax_audioxtr *)malloc(sizeof(struct libdax_audioxtr *)); + o= *xtr= (struct libdax_audioxtr *) malloc(sizeof(struct libdax_audioxtr)); if(o==NULL) return(-1); strncpy(o->path,path,LIBDAX_AUDIOXTR_STRLEN-1);