Leak of memory or pointers to system resources
Defect 76459 (STATIC_C)
Checker RESOURCE_LEAK (subcategory none)
File: /examples/bson-streaming-reader.c
Function bson_streaming_remote_open
/examples/bson-streaming-reader.c, line: 66
"getaddrinfo" allocates memory that is stored into "server_list".
/examples/bson-streaming-reader.c, line: 83
Assigning: "ptr" = "server_list".
/examples/bson-streaming-reader.c, line: 106
Variable "server_list" going out of scope leaks the storage it points to.