summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-03-23 23:34:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-03-23 23:34:46 (GMT)
commite6ff9a1fa72902f86a05983a389da8a3dff7709d (patch)
tree5a6cb39a5deb392f2836111cd5e7c47dd7d9ba4d /plugins
parent433dfe63579553edd962d2b8ec822d22e57a9905 (diff)
Fix a compilation warning.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysalide/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/core.c b/plugins/pychrysalide/core.c
index f1191fb..38e3c7c 100644
--- a/plugins/pychrysalide/core.c
+++ b/plugins/pychrysalide/core.c
@@ -937,10 +937,10 @@ G_MODULE_EXPORT void chrysalide_plugin_on_plugins_loaded(GPluginModule *plugin,
}
- }
+ if (list != NULL)
+ free(list);
- if (list != NULL)
- free(list);
+ }
/* Chargement des extensions purement Python */