]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secret: Add NULL obj check to virSecretObjListRemove
authorJohn Ferlan <jferlan@redhat.com>
Tue, 25 Apr 2017 13:17:22 +0000 (09:17 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 26 Apr 2017 17:27:15 +0000 (13:27 -0400)
commit6de89f33fa9e68650f3eb7ce49896fd6a7d935ad
treeb926912778c3b17d92dd94cba827cca3b3fae798
parent6f8c858c74637be8cae02139a116cd67d8fb8e97
secret: Add NULL obj check to virSecretObjListRemove

Rather than have the caller check if !obj before calling, just check
in the function for !obj and return.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virsecretobj.c