| 352 embedded_data = g_hash_table_lookup(embedded_datas, |
353 embedded_data = g_hash_table_lookup(embedded_datas, |
| 353 GINT_TO_POINTER(id)); |
354 GINT_TO_POINTER(id)); |
| 354 |
355 |
| 355 if ((embedded_data != NULL) && (embedded_data->size == size)) |
356 if ((embedded_data != NULL) && (embedded_data->size == size)) |
| 356 { |
357 { |
| 357 imgid = purple_imgstore_add_with_id(g_memdup(embedded_data->data, size), size, src); |
358 imgid = purple_imgstore_add_with_id(g_memdup2(embedded_data->data, size), size, src); |
| 358 |
359 |
| 359 /* Record the image number */ |
360 /* Record the image number */ |
| 360 images = g_slist_append(images, GINT_TO_POINTER(imgid)); |
361 images = g_slist_append(images, GINT_TO_POINTER(imgid)); |
| 361 } |
362 } |
| 362 } |
363 } |