Changeset c8211b5


Ignore:
Timestamp:
Mar 1, 2010, 8:33:49 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.5
Children:
3c0ec97
Parents:
7306b0f
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 03:54:47)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/01/10 20:33:49)
Message:
_owl_zephyr_process_events: Don’t leak ignored ZNotices.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r97f85c3 rc8211b5  
    13231323      if (owl_zephyr_notice_is_ack(&notice)) {
    13241324        owl_zephyr_handle_ack(&notice);
     1325        ZFreeNotice(&notice);
    13251326        continue;
    13261327      }
     
    13281329      /* if it's a ping and we're not viewing pings then skip it */
    13291330      if (!owl_global_is_rxping(&g) && !strcasecmp(notice.z_opcode, "ping")) {
     1331        ZFreeNotice(&notice);
    13301332        continue;
    13311333      }
Note: See TracChangeset for help on using the changeset viewer.