> > You handle the return value in different ways. getpass() returns a pointer > to a static buffer, but in the 'then' branch you return an allocated > buffer. Not that it matters a lot, though. You could add a comment that > you are aware that the memory is leaked. > How about my branch also use static buffer, so there are not memory leak. best regards Frank Li -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html