Fix memory leak in TestImageConnectivityFilter

1 job for image-connectivity-filter
Status Job ID Name Coverage
  External
passed kwrobot-commit-check