Fixed copy & paste error leading to a double-free condition

This commit is contained in:
Pierre Pronchery 2012-09-14 21:36:16 +00:00
parent f441810e09
commit 7c8fd20e45

View File

@ -380,7 +380,6 @@ static void _refresh_dir(CVS * cvs)
snprintf(p, len, "%s/%s", filename, dir);
if(lstat(p, &st) != 0)
{
free(p);
/* check if the parent folder is managed */
if(_cvs_is_managed(filename, NULL) == FALSE)
_refresh_status(cvs, _("Not a CVS repository"));