maybe?
```
if (src == NULL) 
    return dst.release();
```