~ $ rtcwake -d X -s 10 *** glibc detected *** rtcwake: munmap_chunk(): invalid pointer: 0x00007fff839253c3 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x733b6)[0x7f582677a3b6] rtcwake[0x4022d5] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f5826725bfd] rtcwake[0x4016b9] ======= Memory map: ======== <SNIP> Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx> --- sys-utils/rtcwake.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c index 2f17400..591ef8b 100644 --- a/sys-utils/rtcwake.c +++ b/sys-utils/rtcwake.c @@ -495,7 +495,6 @@ int main(int argc, char **argv) strcpy(new_devname, "/dev/"); strcat(new_devname, devname); - free(devname); devname = new_devname; } -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html