Updated the examples with generic TODO comments in place of existing
memory-leaking error handling code. Updated the DDA section with text to
indicate that examples demonstrate the DDA API and have TODO comments in
places where code could be added to make them more complete/ robust.