media_cache: Fix reference leak with bucket file metadata

Change-Id: Ia0e4124110df613ce5fdfa9ef8780016ebaa52c6
This commit is contained in:
Sean Bright
2020-11-23 15:56:25 -05:00
committed by Joshua Colp
parent ab7a08b4ef
commit c8b6340023

View File

@@ -184,6 +184,7 @@ static void bucket_file_update_path(struct ast_bucket_file *bucket_file,
}
ast_free(mime_type);
}
ao2_ref(header, -1);
}
}