Blob Blame History Raw
diff -up plymouth-0.6.0/src/libplybootsplash/ply-image.c.dont-crash-on-null-free plymouth-0.6.0/src/libplybootsplash/ply-image.c
--- plymouth-0.6.0/src/libplybootsplash/ply-image.c.dont-crash-on-null-free	2008-11-14 22:09:39.000000000 -0500
+++ plymouth-0.6.0/src/libplybootsplash/ply-image.c	2008-11-14 22:09:58.000000000 -0500
@@ -115,7 +115,9 @@ ply_image_new (const char *filename)
 void
 ply_image_free (ply_image_t *image)
 {
-  assert (image != NULL);
+  if (image == NULL)
+    return;
+
   assert (image->filename != NULL);
 
   if (image->layout.address != NULL)