summaryrefslogtreecommitdiff
path: root/src/metaflac/operations_shorthand_seektable.c
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2002-11-27 04:44:54 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2002-11-27 04:44:54 +0000
commitcfae6cdebe6e7aff16b9e16026f3972fab11f317 (patch)
tree25ae1a170b86d66022f21cca764ebc7c0bdf2721 /src/metaflac/operations_shorthand_seektable.c
parentaf396a54496fd340081d82ba11f576cac81c9ccb (diff)
downloadflac-cfae6cdebe6e7aff16b9e16026f3972fab11f317.tar.gz
finish implementation of --import-cuesheet-from and --export-cuesheet-to
Diffstat (limited to 'src/metaflac/operations_shorthand_seektable.c')
-rw-r--r--src/metaflac/operations_shorthand_seektable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/metaflac/operations_shorthand_seektable.c b/src/metaflac/operations_shorthand_seektable.c
index c3ad4075..8ec55872 100644
--- a/src/metaflac/operations_shorthand_seektable.c
+++ b/src/metaflac/operations_shorthand_seektable.c
@@ -61,6 +61,7 @@ FLAC__bool do_shorthand_operation__add_seekpoints(const char *filename, FLAC__Me
;
if(!FLAC__metadata_iterator_insert_block_after(iterator, block)) {
fprintf(stderr, "%s: ERROR: adding new SEEKTABLE block to metadata, status =\"%s\"\n", filename, FLAC__Metadata_ChainStatusString[FLAC__metadata_chain_status(chain)]);
+ FLAC__metadata_object_delete(block);
return false;
}
/* iterator is left pointing to new block */