Memory leak in C++ API 2.3

I have the following code running in a server add-in. The variable mqbox is an open database.

mqbox.GetViewFolder(“$Incoming”, &inbox);

while (task.ShouldAddinTerminate() == FALSE) {

inbox.Open();

inbox.Close();

task.Idle();

}

When I run this, the add-in leaks 4kb every time through the loop. If I comment out the Open and Close calls, there is no leak.

Is this a leak in the API or is there some way I can fix this myself?