kyle-github/libplctag — pull request #2 by ericorange (2014-10-10 20:07:03+00:00)
Title: Moved vtable definition in ab_tag_create

Moved the creation of the vtable to earlier in ab_tag_create. When
failures occured after memory was allocated, but before the vtable
was setup, the destroy methods were not called and memory was not
reclaimed. This led to multiple memory leaks.