>       GtkWidget *dialog, *entry;
>  
>       /* example configuration dialog */
> -     dialog = create_Interactive();
> +     dialog = create_Interactive(default_word);
> +     if (default_word)
> +             g_free(default_word);

`g_free()` (like `free()`) is `NULL`-safe, no need to guard it

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/457/files/85d6d5d8780bb063c0b3033acf91b384a5483355#r70166361

Reply via email to