memory leak in ndmpd_config_get_fs_info_v3
There is a memory leak in error code path in ndmpd_config_get_fs_info_v3 (around line 626 fsip->fs_logical_device and fsip->fs_type are not freed). Also the code in this functions begs for restructuring and could be optimized to open /etc/mnttab just once instead of twice.
Updated by Electric Monk about 7 years ago
Author: Albert Lee <firstname.lastname@example.org> 4554 memory leak in ndmpd_config_get_fs_info_v3 Reviewed by: Jan Kryl <email@example.com> Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>