R: fixed a memory leak in the functions with attribute combinations.
Fixed a memory leak in igraph_es_as_vector.