structure FEATURE support for augment-structure
diff --git a/src/plugins_exts/nacm.c b/src/plugins_exts/nacm.c
index 59a7c05..2ba5692 100644
--- a/src/plugins_exts/nacm.c
+++ b/src/plugins_exts/nacm.c
@@ -51,7 +51,7 @@
         /* duplicate this one to inherit it to the child */
         LY_ARRAY_NEW_GOTO(node->module->ctx, node->exts, inherited, ret, emem);
 
-        inherited->def = lysc_ext_dup(arg->ext->def);
+        inherited->def = arg->ext->def;
         inherited->parent = node;
         inherited->parent_stmt = lyplg_ext_nodetype2stmt(node->nodetype);
         if (arg->ext->argument) {
@@ -59,7 +59,7 @@
                 return ret;
             }
         }
-        /* TODO duplicate extension instances */
+        /* copy the pointer to the static variables */
         inherited->compiled = arg->ext->compiled;
     }