LarsGit223 commented on this pull request.
basedir_end--;
+ } + if (*basedir_end == G_DIR_SEPARATOR) + { + *basedir_end = '\0'; + } + else + { + break; + } + goback--; + } + + length = strlen(basedir)+strlen(start); + result = g_new(char, length+1); + if (result == NULL)
See above.