diff options
Diffstat (limited to '')
-rw-r--r-- | src/replay_gain.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/replay_gain.c b/src/replay_gain.c index 6c976c892..482cd4bd3 100644 --- a/src/replay_gain.c +++ b/src/replay_gain.c @@ -162,6 +162,12 @@ struct replay_gain_info *replay_gain_info_new(void) return ret; } +struct replay_gain_info * +replay_gain_info_dup(const struct replay_gain_info *src) +{ + return g_memdup(src, sizeof(*src)); +} + void replay_gain_info_free(struct replay_gain_info *info) { g_free(info); |