diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-25 06:14:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-25 06:14:23 +0000 |
commit | 201d885cf454e026cf59e18961f025bcfa8a3142 (patch) | |
tree | baf91f410e825f7768de9be51fe5e8556333bc7b /Query.c | |
parent | Releasing debian version 4.3+20240412-1. (diff) | |
download | mdadm-201d885cf454e026cf59e18961f025bcfa8a3142.tar.xz mdadm-201d885cf454e026cf59e18961f025bcfa8a3142.zip |
Merging upstream version 4.3+20240723.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Query.c')
-rw-r--r-- | Query.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,7 +39,7 @@ int Query(char *dev) struct mdinfo info; struct mdinfo *sra; struct supertype *st = NULL; - unsigned long long larray_size; + unsigned long long larray_size = 0; struct stat stb; char *mddev; mdu_disk_info_t disc; @@ -136,5 +136,7 @@ int Query(char *dev) if (st->ss == &super0) put_md_name(mddev); } + free(sra); + return 0; } |