You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But running this code gives me valgrind error :6 bytes in 1 blocks are definitely lost in loss record 1 of 1.
How to properly assign a string to struct and then deallocate it.
The text was updated successfully, but these errors were encountered:
Hi,
I have following JS Code which i need to run in my quickjs app.
For this I have written a bare minimal example code to test this using quickjs core API.
EventState
to hold Event state.js_print
to implement print methodEvent_constructor
andget_type_Event
to implementEvent
class.But running this code gives me
valgrind
error :6 bytes in 1 blocks are definitely lost in loss record 1 of 1
.How to properly assign a string to struct and then deallocate it.
The text was updated successfully, but these errors were encountered: