Skip to content

Commit 876bef6

Browse files
committed
ncc BUGFIX uninit var access
1 parent b81788d commit 876bef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/netconf_confirmed_commit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ ncc_changes_rollback_cb(union sigval sev)
396396
{
397397
int rc;
398398
struct np2_user_sess *user_sess = NULL;
399-
sr_session_ctx_t *sr_sess;
399+
sr_session_ctx_t *sr_sess = NULL;
400400
struct lyd_node *node = NULL;
401401
const struct ly_ctx *ly_ctx;
402402
struct lys_module *module = NULL;

0 commit comments

Comments
 (0)