Don't pass an account_t pointer directly to query_add() since query_del() wants to free it! Passing an indirect pointer instead.