this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

destroy vorbis_comment

+11 -1
+11 -1
src/formats/flac.odin
··· 25 25 album: string, 26 26 album_artist: string, 27 27 track_number: u8, 28 - artists: [dynamic]string, 28 + artists: []string, 29 + } 30 + 31 + destroy_vorbis_comment :: proc(c: VorbisComment, allocator: mem.Allocator = context.allocator) { 32 + delete(c.title, allocator) 33 + delete(c.album, allocator) 34 + delete(c.album_artist, allocator) 35 + for artist in c.artists { 36 + delete(artist, allocator) 37 + } 38 + delete(c.artists, allocator) 29 39 } 30 40 31 41 check_is_flac :: proc(r: ^bufio.Reader) -> bool {