[GLIB] Test /jsc/prototypes crashes in debug
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Apr 2018 06:40:52 +0000 (06:40 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Apr 2018 06:40:52 +0000 (06:40 +0000)
commitd0904fe8409063babc9f1b36af82837579b9e4f2
treef329680581b8a78b48da54cbd47d776d0a08074a
parentdd6456533c92058fe7e11d3271f69e97b3bd1c34
[GLIB] Test /jsc/prototypes crashes in debug
https://bugs.webkit.org/show_bug.cgi?id=184814

Reviewed by Michael Catanzaro.

We should also call the constructor/destructor of Bar struct to ensure Foo is constructed.

* TestWebKitAPI/Tests/JavaScriptCore/glib/TestJSC.cpp:
(barCreate):
(barFree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/JavaScriptCore/glib/TestJSC.cpp