diff options
Diffstat (limited to 'src/gcompris/properties.c')
-rw-r--r-- | src/gcompris/properties.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gcompris/properties.c b/src/gcompris/properties.c index 209fb47..12dc9b8 100644 --- a/src/gcompris/properties.c +++ b/src/gcompris/properties.c @@ -320,6 +320,8 @@ gc_prop_new () void gc_prop_destroy (GcomprisProperties *props) { + if(!props) + return; g_free(props->user_data_dir); g_free(props->package_data_dir); g_free(props->package_locale_dir); |