We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de09daa commit ba6069fCopy full SHA for ba6069f
src/njs/src/njsConnection.h
@@ -267,9 +267,13 @@ typedef struct eBaton
267
{
268
for( unsigned int index = 0 ;index < extBinds.size(); index++ )
269
270
- if ( extBinds[ index ] != NULL )
+ if ( extBinds[index] )
271
272
- delete extBinds[ index ];
+ if ( extBinds[index]->mInfo )
273
+ {
274
+ delete [] extBinds[index]->mInfo;
275
+ }
276
+ delete extBinds[index];
277
}
278
279
extBinds.clear ();
0 commit comments