ADLINK-IST/opensplice

Memleak in serviceCommandIsValid ?

Opened this issue · 0 comments

Shouldn't the suffixedCommand variable that is allocated here:

suffixedCommand = os_malloc(strlen(*command) + sizeof(OS_EXESUFFIX));

be freed after use? - If I understand correctly the os_locate() calls os_strdup() to duplicate the given input if finds a match.