diff options
Diffstat (limited to 'src/replayGain.c')
-rw-r--r-- | src/replayGain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/replayGain.c b/src/replayGain.c index 52362946e..eb084e755 100644 --- a/src/replayGain.c +++ b/src/replayGain.c @@ -18,6 +18,7 @@ */ #include "replayGain.h" +#include "utils.h" #include "log.h" #include "conf.h" @@ -89,7 +90,7 @@ static float computeReplayGainScale(float gain, float peak) ReplayGainInfo *newReplayGainInfo(void) { - ReplayGainInfo *ret = malloc(sizeof(ReplayGainInfo)); + ReplayGainInfo *ret = xmalloc(sizeof(ReplayGainInfo)); ret->albumGain = 0.0; ret->albumPeak = 0.0; |