XmlBodyDeserializer can cause memory leakage #923

thecodejunkie opened this Issue Jan 23, 2013 · 0 comments


None yet

2 participants


According to http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx the XmlSerializer can cause memory leakage when "the wrong" constructor is used (see the Dynamically Generated Assembly section).

It just so happens that the XmlBodyDeserializer does not use one of the two safe ctor overloads.

@thecodejunkie thecodejunkie added a commit to thecodejunkie/Nancy that referenced this issue Jan 24, 2013
@thecodejunkie thecodejunkie Fixed memory leak in XmlBodyDeserializer
Resolves issue #923
@grumpydev grumpydev closed this Jan 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment