As any other kind of interferometry, electronic holography too s very sensitive for perturbation such as vibrations and air currents. Active phase stabilization has been known as an effective countermeasure for some time. We describe the implementation of such a closed loop which uses the camera as phase sensor, which allows us to stabilize our holography systems by a pure software addition.