 
            
            
            
            
                24 Sep
                
                    2019
                
            
            
                24 Sep
                
                '19
                
            
            
            
        
    
                12:17 p.m.
            
        Hi , Our static analyzer report an memory leak with add_options . We use namespace po = boost::program_options; po::options_description desc("Options"); desc.add_options() ("name", po::value<std::string>(), ...) // add option ; The issue reported in boost library file value_semantic.hpp:199 template<class T> typed_value<T>* value(T* v) { typed_value<T>* r = new typed_value<T>(v); return r; } memory is dynamically allocated here and return at line 201. Can anyone suggest how do we handle this memory leak.
        2229
        
      
          Age (days ago)
        
      
        2229
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Vinitha Anish(UST,IN) Vinitha Anish(UST,IN)