ikerexxe 569bd1d54f useradd: free grp to avoid leak
covscan issue:
Error: RESOURCE_LEAK (CWE-772): [#def39] [important]
src/useradd.c:728: alloc_fn: Storage is returned from allocation function "get_local_group".
src/useradd.c:728: var_assign: Assigning: "grp" = storage returned from "get_local_group(list)".
src/useradd.c:728: overwrite_var: Overwriting "grp" in "grp = get_local_group(list)" leaks the storage that "grp" points to.
726|   		 * GID values, otherwise the string is looked up as is.
727|   		 */
728|-> 		grp = get_local_group (list);
729|
730|   		/*
2020-10-27 11:42:34 +01:00
..
2020-06-07 12:11:58 -05:00
2020-07-12 19:09:14 +02:00
2019-12-01 11:00:57 -06:00
2019-12-01 11:00:57 -06:00
2019-10-22 14:56:31 +02:00
2016-07-02 18:11:09 +02:00
2020-03-09 18:01:32 +00:00
2020-06-07 12:11:58 -05:00
2020-06-07 12:11:58 -05:00
2017-10-22 21:12:29 +00:00
2020-08-12 17:53:28 +01:00
2020-06-07 12:11:58 -05:00
2020-01-12 08:20:50 -06:00
2020-06-07 12:11:58 -05:00
2020-06-07 12:11:58 -05:00
2019-10-12 20:03:32 -05:00
2020-10-27 11:42:08 +01:00
2019-10-12 20:03:32 -05:00
2020-05-11 09:26:43 -04:00
2017-10-22 21:30:30 +00:00
2016-07-02 18:11:09 +02:00
2020-10-27 11:42:34 +01:00