servlib/bundling/BPQBlock.cc
changeset 75 d647d52028bc
parent 68 17b33ba237f2
equal deleted inserted replaced
74:a86a8cfe49c8 75:d647d52028bc
    63     log_info("BPQBlock: destructor");
    63     log_info("BPQBlock: destructor");
    64     if ( query_val_ != NULL ){
    64     if ( query_val_ != NULL ){
    65         free(query_val_);
    65         free(query_val_);
    66         query_val_ = NULL;
    66         query_val_ = NULL;
    67     }
    67     }
    68 
       
    69     BPQFragmentList::iterator iter;
       
    70     for (iter  = fragments_.begin();
       
    71     	 iter != fragments_.end();
       
    72     	 ++iter) {
       
    73 
       
    74     	delete *iter;
       
    75     }
       
    76 }
    68 }
    77 
    69 
    78 //----------------------------------------------------------------------
    70 //----------------------------------------------------------------------
    79 int
    71 int
    80 BPQBlock::write_to_buffer(u_char* buf, size_t len)
    72 BPQBlock::write_to_buffer(u_char* buf, size_t len)