diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-11-17 15:23:17 -0800 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-11-18 16:05:42 -0800 |
commit | 86ec81242987d876ef0760b6d9201c79de9d1bf4 (patch) | |
tree | 7218eb94926339718084cf101ab76907d8912793 /tests/icles | |
parent | 87b5ad0dfc2cca4c35337f85bc0f5b89fe462d6a (diff) |
Remove unnecessary NULL checks before g_free()
g_free() is NULL-safe
Diffstat (limited to 'tests/icles')
-rw-r--r-- | tests/icles/metadata_editor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/icles/metadata_editor.c b/tests/icles/metadata_editor.c index 7266a7d33..7352e7ba8 100644 --- a/tests/icles/metadata_editor.c +++ b/tests/icles/metadata_editor.c @@ -201,8 +201,7 @@ insert_tag_on_tree (const GstTagList * list, const gchar * tag, gtk_tree_store_append (tree_store, &iter, NULL); gtk_tree_store_set (tree_store, &iter, COL_TAG, tag, COL_VALUE, str, -1); - if (str) - g_free (str); + g_free (str); } |