chiark / gitweb /
[PATCH] udev-remove.c cleanups
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sat, 20 Dec 2003 02:29:01 +0000 (18:29 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:09 +0000 (21:13 -0700)
commita56ef382869bb76ade6d26cd7e8adc983ca3f89e
treeeb8ba1359793fe3994643a8aab8a5ef871986cd2
parent7ecb8d23f371a38cd918334ee7bf8383f1807ddb
[PATCH] udev-remove.c cleanups

I've moved the malloc out of the udevdb into udev-remove to free the
struct after use and not to allocate a different struct in the case the
device is not in the data base. I seems a bit easier to read.
udev-remove.c
udevdb.c
udevdb.h