11cf6cc005
Under newlib, the only caller of the readproc routines is that pids module. And in every case, the address of some static proc_t structure has always been provided. As a result, there is no need for the logic supporting calloc() for a possible NULL pointer which was present in both of those readproc() and readeither() routines. Additionally, that pids module takes ownership of most dynamically acquired 'str' plus 'strv' memory whenever assigning to a results structure. So, henceforth under the free_acquired() guy we will only free those string fields which might exist when not explicitly selected. Signed-off-by: Jim Warner <james.warner@comcast.net>