confd: ietf-system: Add missing endspent() when getting operational data

This fix #697
This commit is contained in:
Mattias Walström
2024-10-10 10:56:47 +02:00
parent c0d5bfa71d
commit f1d730447d
+1
View File
@@ -1407,6 +1407,7 @@ static int auth_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *modul
lyd_new_path(*parent, NULL, xpath, spwd->sp_pwdp, 0, 0);
}
endspent();
return SR_ERR_OK;
}