]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/rtcwake.c
rtcwake: do not duplicate argument strings
authorDavidlohr Bueso <dave@gnu.org>
Sun, 27 Feb 2011 17:45:01 +0000 (14:45 -0300)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Mar 2011 12:34:20 +0000 (13:34 +0100)
commitc1196d3ab706ed05f0f1ee3973d0823c0a8e0734
tree278379a582c41451ef6a96556a640a4de7a3b3ac
parent4b5f7895b4336fdcfeebb7237d6e41182662ce2f
rtcwake: do not duplicate argument strings

This is not necessary and prevents memory leaks.

Reported-by: Marek Otahal <markotahal@gmail.com>
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
sys-utils/rtcwake.c