Skip to content

Commit 40de43a

Browse files
committed
netconf BUGFIX wron return val
1 parent d95c2e6 commit 40de43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/netconf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ np_get_rpc_data(sr_session_ctx_t *session, const char *xp_filter, struct lyd_nod
6060

6161
if (!xp_filter) {
6262
/* empty filter matches no data */
63-
return SR_ERR_OK;
63+
goto cleanup;
6464
}
6565

6666
/* get base data from running */

0 commit comments

Comments
 (0)