Signed-off-by: Zhang Bo <oscar.zhangbo@huawei.com>

---

src/util/virnetlink.c | 1 -

1 file changed, 1 deletion(-)

 

diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c

index 4f4dedc..40912f5 100644

--- a/src/util/virnetlink.c

+++ b/src/util/virnetlink.c

@@ -271,7 +271,6 @@ int virNetlinkCommand(struct nl_msg *nl_msg,

  cleanup:

     if (rc == -1) {

         VIR_FREE(*resp);

-        *resp = NULL;

         *respbuflen = 0;

     }

--

1.7.12.4