summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-04-17 11:40:09 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-04-17 11:50:39 +0800
commit8245f2555d8a253238be888cf3e5693a2e7cbefc (patch)
tree20a4b6a0946d37d5fcd5f5384163217e8bd180c4 /INSTALL
parenta1fb38f17bfa60aac89d0dd21dd8ccc739d794bf (diff)
downloadtalos-petitboot-8245f2555d8a253238be888cf3e5693a2e7cbefc.tar.gz
talos-petitboot-8245f2555d8a253238be888cf3e5693a2e7cbefc.zip
discover/udev: fix double free on udev_init failures
If the udev monitor or enumerate functions fail, we'll call the udev_unref and udev_monitor_unref functions twice: once in the cleanup path and once in the talloc destructor. This change moves all cleanup to the talloc destructor, so we only do the unrefs once. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud