fix(rtable): Potential memory leak in rte replace
[ric-plt/lib/rmr.git] / src / common / include / rmr_agnostic.h
index 06da060..4b772e3 100644 (file)
@@ -168,6 +168,8 @@ typedef struct {
        round robin messags across the list.
 */
 typedef struct {
+       uint64_t key;                   // key used to reinsert this entry into a new symtab
+       int     refs;                           // number of symtabs which reference the entry
        int mtype;                              // the message type for this list
        int     nrrgroups;                      // number of rr groups to send to
        rrgroup_t**     rrgroups;       // one or more set of endpoints to round robin messages to