projects
/
lvm2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704e8f4
)
cov: missing free
author
Zdenek Kabelac <zkabelac@redhat.com>
Mon, 17 Nov 2025 09:47:52 +0000
(10:47 +0100)
committer
Zdenek Kabelac <zkabelac@redhat.com>
Mon, 17 Nov 2025 12:52:04 +0000
(13:52 +0100)
With recent commit
f7a308d2e71e332a9cbc01d917182ba562943b77
we missed to relase allocated idname.
lib/device/device_id.c
patch
|
blob
|
history
diff --git
a/lib/device/device_id.c
b/lib/device/device_id.c
index bdeb2d454f9d8055b2f6cd7bc6814e7c173c31f7..6d5c9d010e428a710f98a724b38e2f45581716ec 100644
(file)
--- a/
lib/device/device_id.c
+++ b/
lib/device/device_id.c
@@
-3155,6
+3155,7
@@
int device_id_system_list(struct cmd_context *cmd, struct device *dev, uint16_t
log_print("%s", idname);
else
log_print("%-16s %s", idtype_to_str(idtype), idname);
+ free(idname);
found++;
}
}
This page took
0.073555 seconds
and
5
git commands to generate.