]> git.ipfire.org Git - thirdparty/util-linux.git/commit
getopt: keep pointer to 'name' in control struct
authorKarel Zak <kzak@redhat.com>
Fri, 22 Apr 2016 09:29:46 +0000 (11:29 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 22 Apr 2016 09:29:46 +0000 (11:29 +0200)
commite402d6d3b149c34faa5abd5a0cef8284b4ae1af3
treed83bde6e847cfc43c7fc139c26203a501a71d018
parentfd0b6a5a42746c7fd7a858b3e451c14b2b709c9d
getopt: keep pointer to 'name' in control struct

It's seems more readable than call free(argv[0]).

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/getopt.c