media_cache: Fix reference leak with bucket file metadata

Change-Id: Ia0e4124110df613ce5fdfa9ef8780016ebaa52c6
changes/03/15203/2
Sean Bright 6 years ago committed by Friendly Automation
parent 159522003a
commit ddbf3a7f73

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

Loading…
Cancel
Save