Buffer must be initialized (and freed) here! Not in the callback.