read_metadata_resource(): Don't decrement stream refcnts in error path
authorEric Biggers <ebiggers3@gmail.com>
Tue, 14 Jan 2014 20:46:18 +0000 (14:46 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 14 Jan 2014 20:46:18 +0000 (14:46 -0600)
commitfc27ea11d17c65800916cef3fcdbd24b8290ec2a
tree480eac423b9a7d23200a57c4d5a6d66edaf68db4
parentb2309a90c9fd41a5f24c70595ed4e78e49916a0c
read_metadata_resource():  Don't decrement stream refcnts in error path

If a metadata resource could not be fully read, the code would decrement
the reference counts of streams referenced by the tree.  However this
should not be done, as there is no corresponding increment.
src/metadata_resource.c