On Fri, 2011-09-02 at 12:40 +0200, Svante Signell wrote: > On Fri, 2011-09-02 at 10:57 +0200, Samuel Thibault wrote: > if (stat (path, &st) < 0) Sorry I forgot to free path here >+ ret = strdup (path); >+ free (path); >+ return ret; And I could have returned path instead of ret avoiding the strdup. Anyway, pinotree have already submitted bug reports about gnutls26!