Provided by: libmongoc-doc_1.30.4-1ubuntu1_all bug

SYNOPSIS

          void
          mongoc_read_prefs_destroy (mongoc_read_prefs_t *read_prefs);

PARAMETERS

read_prefs: A mongoc_read_prefs_t.

DESCRIPTION

       Frees a read preference and all associated resources. Does nothing if read_prefs is NULL.

AUTHOR

       MongoDB, Inc

COPYRIGHT

       2009-present, MongoDB, Inc.

1.30.4                                            Jun 08, 2025                      MONGOC_READ_PREFS_DESTROY(3)