Changeset 46c7f5b for zephyr.c


Ignore:
Timestamp:
Mar 1, 2010, 8:15:41 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
62a000b
Parents:
7a3a747
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 03:54:47)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/01/10 20:15:41)
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

    r6b31006 r46c7f5b  
    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.