Commit 806e4686 806e468604470f4039a3728478febfa9a7c92e4a by Sergey Poznyakoff

(util_get_homedir): Do not strdup return. mu_get_homedir() does it now.

1 parent 54d98a14
......@@ -553,16 +553,16 @@ util_isdeleted (int n)
}
char *
util_get_homedir()
util_get_homedir ()
{
char *homedir = mu_get_homedir();
char *homedir = mu_get_homedir ();
if (!homedir)
{
/* Shouldn't happen, but one never knows */
util_error("can't get homedir");
util_error ("can't get homedir");
exit (EXIT_FAILURE);
}
return strdup(homedir);
return homedir;
}
char *
......