diff options
author | rbuj <[email protected]> | 2020-12-04 15:06:30 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-10 15:35:41 +0100 |
commit | 099324dcb930c77add9100df9c059d4485f78658 (patch) | |
tree | 064bd8247719d77b11fc8741622c394be7e775f5 | |
parent | 1cd9731e1da41ea27bba4181bc6c37eb336a0563 (diff) | |
download | mate-applets-099324dcb930c77add9100df9c059d4485f78658.tar.bz2 mate-applets-099324dcb930c77add9100df9c059d4485f78658.tar.xz |
geyes: Remove duplicated NULL check
-rw-r--r-- | geyes/src/geyes.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/geyes/src/geyes.c b/geyes/src/geyes.c index 6bdf49b1..8f763b74 100644 --- a/geyes/src/geyes.c +++ b/geyes/src/geyes.c @@ -314,20 +314,16 @@ destroy_cb (GObject *object, g_object_unref (eyes_applet->pupil_image); eyes_applet->pupil_image = NULL; - if (eyes_applet->theme_dir) - g_free (eyes_applet->theme_dir); + g_free (eyes_applet->theme_dir); eyes_applet->theme_dir = NULL; - if (eyes_applet->theme_name) - g_free (eyes_applet->theme_name); + g_free (eyes_applet->theme_name); eyes_applet->theme_name = NULL; - if (eyes_applet->eye_filename) - g_free (eyes_applet->eye_filename); + g_free (eyes_applet->eye_filename); eyes_applet->eye_filename = NULL; - if (eyes_applet->pupil_filename) - g_free (eyes_applet->pupil_filename); + g_free (eyes_applet->pupil_filename); eyes_applet->pupil_filename = NULL; if (eyes_applet->prop_box.pbox) |