Permalink
Browse files

fix wavy_port_kqueue

  • Loading branch information...
1 parent 377fc49 commit b87172c9099a00f68220482840aeeafae0ee776d @frsyuki committed Aug 3, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mpsrc/wavy_port_kqueue.h
@@ -95,7 +95,7 @@ class port {
struct timer {
public:
- timer() : ident(-1) { }
+ timer() : ident(-1), xv(NULL) { }
~timer() { if(ident >= 0) free_xvec(xv); }
private:
int ident;
@@ -142,7 +142,7 @@ class port {
struct signal {
public:
- signal() : ident(-1) { }
+ signal() : ident(-1), xv(NULL) { }
~signal() { if(ident >= 0) free_xvec(xv); }
private:
int ident;

0 comments on commit b87172c

Please sign in to comment.