fix bam2egg
This commit is contained in:
parent
2a48505a45
commit
515635f6da
|
|
@ -123,6 +123,10 @@ run() {
|
|||
|
||||
while (object != (TypedWritable *)NULL || !bam_file.is_eof()) {
|
||||
if (object != (TypedWritable *)NULL) {
|
||||
ReferenceCount *ref_ptr = object->as_reference_count();
|
||||
if (ref_ptr != NULL) {
|
||||
ref_ptr->ref();
|
||||
}
|
||||
objects.push_back(object);
|
||||
}
|
||||
object = bam_file.read_object();
|
||||
|
|
|
|||
Loading…
Reference in New Issue