It...works? Very preliminary uncertain release here. I have some issues where when PQclear is called on a valid result pointer, glibc wigs out calling it a double free, but only when that result is cleared after the sandbox has gone out of scope. If the tests are run without a sandbox, or if a result is cleared before the sandbox goes out of scope, then there is no error at all. I'd really appreciate if someone could figure out what's really going on though, since I doubt that the sandbox is deallocating the memory returned from PQgetResult. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Author: Mongoose # Committer: synx # # On branch master # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # modified: converters/general.ss # modified: ffi.ss # renamed: wrapper.ss -> main.ss # new file: test-bytea.ss # modified: test-wrapper.ss # # Untracked files: # (use "git add ..." to include in what will be committed) # # compiled/