Skip to content

Commit

Permalink
fixed apploader callback
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jul 26, 2023
1 parent 2ce6e14 commit 6cacfc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/backend/apploader/apploader.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static void task_finalize(apploader_task_ctx_t *task, int result) {
} else if (app_bus_post(task->loader->app, (bus_actionfunc) task_callback, task)) {
return;
}
apploader_destroy(task->loader);
apploader_unref(task->loader);
free(task);
}

Expand All @@ -179,7 +179,7 @@ static void task_callback(apploader_task_ctx_t *task) {
loader->callback.error(task->code, task->error, loader->userdata);
}
}
apploader_destroy(loader);
apploader_unref(loader);
free(task);
}

Expand Down

0 comments on commit 6cacfc4

Please sign in to comment.