Skip to content

Commit 964407a

Browse files
committed
plugins BUGFIX check return value
1 parent f7aeeae commit 964407a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ lyplg_add_plugin(struct ly_ctx *ctx, uint32_t version, enum LYPLG type, const vo
633633
return LY_EDENIED;
634634
}
635635

636-
plugins_insert(ctx, type, recs);
636+
ret = plugins_insert(ctx, type, recs);
637637
pthread_mutex_unlock(&plugins_guard);
638638

639639
return ret;

0 commit comments

Comments
 (0)