Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 413691
Collapse All | Expand All

(-)lib/util.c (-3 / +3 lines)
Lines 113-117 Link Here
113
resolve_symlinks (const vfs_path_t *vpath)
113
resolve_symlinks (const vfs_path_t *vpath)
114
{
114
{
115
    char *p;
115
    char *p, *p2;
116
    char *buf, *buf2, *q, *r, c;
116
    char *buf, *buf2, *q, *r, c;
117
    struct stat mybuf;
117
    struct stat mybuf;
Lines 120-124 Link Here
120
        return NULL;
120
        return NULL;
121
121
122
    p = vfs_path_to_str (vpath);
122
    p = p2 = vfs_path_to_str (vpath);
123
    r = buf = g_malloc (MC_MAXPATHLEN);
123
    r = buf = g_malloc (MC_MAXPATHLEN);
124
    buf2 = g_malloc (MC_MAXPATHLEN);
124
    buf2 = g_malloc (MC_MAXPATHLEN);
Lines 182-186 Link Here
182
  ret:
182
  ret:
183
    g_free (buf2);
183
    g_free (buf2);
184
    g_free (p);
184
    g_free (p2);
185
    return buf;
185
    return buf;
186
}
186
}

Return to bug 413691