URL:
  <http://gna.org/patch/?3646>

                 Summary: Free specialist helptext
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: ven. 01 févr. 2013 16:19:56 CET
                Category: general
                Priority: 3 - Low
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

From valgrind server output :

==25386== 281 bytes in 3 blocks are still reachable in loss record 1,452 of
1,525
==25386==    at 0x402BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==25386==    by 0x825B2C0: fc_real_malloc (mem.c:84)
==25386==    by 0x825B429: real_fc_strdup (mem.c:141)
==25386==    by 0x826827A: string_duplicate (string_vector.c:50)
==25386==    by 0x82687B5: strvec_set (string_vector.c:309)
==25386==    by 0x8268815: strvec_store (string_vector.c:122)
==25386==    by 0x80E4887: lookup_strvec (ruleset.c:738)
==25386==    by 0x80EE47C: load_ruleset_cities (ruleset.c:3059)
==25386==    by 0x80EF594: load_rulesets (ruleset.c:4228)
==25386==    by 0x8076654: srv_prepare (srv_main.c:2424)
==25386==    by 0x411E4D2: (below main) (libc-start.c:226)


From valgrind client output :

==25427== 281 bytes in 3 blocks are still reachable in loss record 8,302 of
10,308
==25427==    at 0x402BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==25427==    by 0x82331C0: fc_real_malloc (mem.c:84)
==25427==    by 0x823FF32: strvec_from_str (string_vector.c:143)
==25427==    by 0x80E0054: handle_ruleset_specialist (packhand.c:3270)
==25427==    by 0x80E134F: client_handle_packet (packhand_gen.c:272)
==25427==    by 0x80AE834: client_packet_input (client_main.c:654)
==25427==    by 0x80B593F: input_from_server (clinet.c:421)
==25427==    by 0x807FC96: get_net_input (gui_main.c:1882)
==25427==    by 0x46EB17D: g_io_unix_dispatch (giounix.c:166)
==25427==    by 0x46AAD85: g_main_context_dispatch (gmain.c:2539)
==25427==    by 0x46AB124: g_main_context_iterate.isra.21 (gmain.c:3146)
==25427==    by 0x46AB56A: g_main_loop_run (gmain.c:3340)


Fix attached...




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: ven. 01 févr. 2013 16:19:56 CET  Name: specialist_helptext_free.diff 
Size: 518 o   By: pepeto

<http://gna.org/patch/download.php?file_id=17091>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3646>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to