fxt: set ptr to NULL to avoid double free

3 jobs for !34 with fxt_double_free in 21 minutes and 26 seconds (queued for 7 seconds)
latest merge request