Diff for /mqtt/src/mqttd_calls.c between versions 1.2.2.13 and 1.2.2.14

version 1.2.2.13, 2012/05/08 13:04:02 version 1.2.2.14, 2012/05/08 13:10:41
Line 138  cmdUNSUBSCRIBE(void *srv, int len, void *arg) Line 138  cmdUNSUBSCRIBE(void *srv, int len, void *arg)
                                         !strcmp(store->st_subscr.sub_topic.msg_base,                                           !strcmp(store->st_subscr.sub_topic.msg_base, 
                                                 subs[i].sub_topic.msg_base)) {                                                  subs[i].sub_topic.msg_base)) {
                                 SLIST_REMOVE(&sess->sess_subscr, store, tagStore, st_node);                                  SLIST_REMOVE(&sess->sess_subscr, store, tagStore, st_node);
   
                                   if (store->st_subscr.sub_topic.msg_base)
                                           free(store->st_subscr.sub_topic.msg_base);
                                   if (store->st_subscr.sub_value.msg_base)
                                           free(store->st_subscr.sub_value.msg_base);
                                 free(store);                                  free(store);
                         }                          }
                 }                  }

Removed from v.1.2.2.13  
changed lines
  Added in v.1.2.2.14


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>