Stefan Dösinger : d3d9: AddRef the device in IDirect3DVertexDeclaration9::AddRef.