<p>In <a href="https://github.com/geany/geany/pull/963#discussion_r56756418">src/project.c</a>:</p>
<pre style='color:#555'>> @@ -1110,7 +1114,8 @@ static gboolean write_config(gboolean emit_signal)
>    config = g_key_file_new();
>    /* try to load an existing config to keep manually added comments */
>    filename = utils_get_locale_from_utf8(p->file_name);
> -  g_key_file_load_from_file(config, filename, G_KEY_FILE_NONE, NULL);
> +  if (utils_read_file(filename, &data, &len, NULL))
</pre>
<p>needs freeing</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/pull/963/files/f2689a096672955ba1dfbcec3f524740a88f67e3..a781ffe57ea21cffdda8959c1b690cea3bfb88ab#r56756418">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0nb_hfWXUO-KsAHSW8RdqSrGwdPks5pvIA9gaJpZM4HvqFb.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/963/files/f2689a096672955ba1dfbcec3f524740a88f67e3..a781ffe57ea21cffdda8959c1b690cea3bfb88ab#r56756418"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>