Clean up aml on nvnc init failure

pull/66/head
Andri Yngvason 2020-08-23 13:25:45 +00:00
parent dcf3b5869c
commit 8038e65597
1 changed files with 1 additions and 0 deletions

View File

@ -986,6 +986,7 @@ capture_failure:
nvnc_display_unref(self.nvnc_display); nvnc_display_unref(self.nvnc_display);
nvnc_close(self.nvnc); nvnc_close(self.nvnc);
nvnc_failure: nvnc_failure:
aml_unref(aml);
main_loop_failure: main_loop_failure:
failure: failure:
#ifdef ENABLE_SCREENCOPY_DMABUF #ifdef ENABLE_SCREENCOPY_DMABUF