mirror of
https://github.com/opensim/opensim.git
synced 2026-07-04 09:47:23 +08:00
Need to clean up resources when creating/updating assets
This commit is contained in:
@@ -102,6 +102,7 @@ namespace OpenSim.Framework.Data.MySQL
|
||||
"VALUES(?id, ?name, ?description, ?assetType, ?invType, ?local, ?temporary, ?data)",
|
||||
_dbConnection.Connection);
|
||||
|
||||
// need to ensure we dispose
|
||||
using (cmd)
|
||||
{
|
||||
MySqlParameter p = cmd.Parameters.Add("?id", MySqlDbType.Binary, 16);
|
||||
|
||||
Reference in New Issue
Block a user