Commit fe4bf34c authored by Marius Meisenzahl's avatar Marius Meisenzahl
Browse files

Fix reference

parent 27aa0432
Pipeline #231706 passed with stage
in 3 minutes and 28 seconds
...@@ -1249,7 +1249,7 @@ destroy_plugin (ply_boot_splash_plugin_t *plugin) ...@@ -1249,7 +1249,7 @@ destroy_plugin (ply_boot_splash_plugin_t *plugin)
ply_image_free (plugin->background_bgrt_image); ply_image_free (plugin->background_bgrt_image);
if (plugin->background_bgrt_fallback_image != NULL) if (plugin->background_bgrt_fallback_image != NULL)
ply_image_free (plugin->background_bgrt_fallback); ply_image_free (plugin->background_bgrt_fallback_image);
if (plugin->watermark_image != NULL) if (plugin->watermark_image != NULL)
ply_image_free (plugin->watermark_image); ply_image_free (plugin->watermark_image);
...@@ -1664,7 +1664,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin, ...@@ -1664,7 +1664,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
plugin->background_bgrt_raw_height = ply_image_get_height (plugin->background_bgrt_image); plugin->background_bgrt_raw_height = ply_image_get_height (plugin->background_bgrt_image);
} else { } else {
ply_trace ("loading background bgrt fallback image"); ply_trace ("loading background bgrt fallback image");
plugin->background_bgrt_image = ply_image_new (plugin->background_bgrt_fallback_image_path);
if (ply_image_load (plugin->background_bgrt_fallback_image)) { if (ply_image_load (plugin->background_bgrt_fallback_image)) {
plugin->background_bgrt_image = plugin->background_bgrt_fallback_image; plugin->background_bgrt_image = plugin->background_bgrt_fallback_image;
plugin->background_bgrt_fallback_image = NULL; plugin->background_bgrt_fallback_image = NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment